(imported topic written by IvyC)
I am trying to create a reg file using appendfile and this is what I have so far:
delete __appendfile
delete wizardedit.reg
appendfile Windows Registry Editor Version 5.00
appendfile
appendfile
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSFTPSVC\Parameters\Virtual Roots
appendfile {“ddas$lcrem_sort_reports=\” & first 8 of computer name & “C\eor_data\lcrem”}
move __appendfile wizardedit.reg
this creates a file that looks like this:
Windows Registry Editor Version 5.00
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSFTPSVC\Parameters\Virtual Roots
ddas$lcrem_sort_reports=\ids99991C\eor_data\lcrem
I need it to look like this:
Windows Registry Editor Version 5.00
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSFTPSVC\Parameters\Virtual Roots
“/ddas$lcrem_sort_reports”=”\\ids99991C\eor_data\lcrem,3”
So I tried this:
delete __appendfile
delete wizardedit.reg
appendfile Windows Registry Editor Version 5.00
appendfile
appendfile
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSFTPSVC\Parameters\Virtual Roots
appendfile {""/DDAS$LCREM_SORT_REPORTS"="\\" & first 8 of computer name & “C\EOR_DATA\LCREM,3"”}
move __appendfile wizardedit.reg
This failed…. So I tried this:
delete __appendfile
delete wizardedit.reg
appendfile Windows Registry Editor Version 5.00
appendfile
appendfile
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSFTPSVC\Parameters\Virtual Roots
appendfile {""/DDAS$LCREM_SORT_REPORTS"="\\"" & first 8 of computer name & "“C\DATA\EOR_DATA\LCREM,3"”}
move __appendfile wizardedit.reg
And it failed too L.
What is wrong?