Help - Search - Members - Calendar
Full Version: what am i doing wrong
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   
Google Internet Forums Unattended CD/DVD Guide
wacko1
hi

could someone tell me whats wrong with this line

REG ADD %KEY%\015 /V 1 /D "\"%systemdrive%\windows\system32\xcopy.exe /Y /E /I %systemdrive%\install\Tcommander\inikey f:\Total commander"\" /f

when i dont use spaces in dir names it works but i cant figure out what is wrong with the line above when im using spaces

pls help

oh BTW

in the inikey dir are 2 files i want to copy to f:\total commander
my eyes hurt from reading but i just cant get it to work confused.gif
Tsunami
Put the last \ back one character. Like this:

REG ADD %KEY%\015 /V 1 /D "\"%systemdrive%\windows\system32\xcopy.exe /Y /E /I %systemdrive%\install\Tcommander\inikey f:\Total commander\"" /f

That should work.
wacko1
thx for reply

but i dont know whats wrong

it isnt working
copied the complete line u gave me and tested it

doesnt work

windows cant find .....bla bla bla

just for a test i removed the space and the " \ and it just makes the dir and copies the files
Yzöwl
CODE
REG ADD %KEY%\015 /V 1 /D "%SystemRoot%\system32\xcopy.exe /Y /E /I %systemdrive%\install\Tcommander\inikey \"F:\Total commander\"" /f
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.