|
Answer» Hello,
I am trying to rename program files folder in the command prompt, but what i am entering is not the CORRECT syntax, according to the dos prompt window.
I have looked at the rename articles on this site, but i still get error that i have entered the incorrect syntax.
The renaming is:
D:\Program Files
to be changed to
D:\Old
I have tried:
rename D:\Program Files Old
ren d:\Program Files d:\Old
ren d:\Program Files
rename d:\Program Files
ren Program Files Old
Thanks
NickYou need to quote any FILE or path with spaces, or else the command interpreter get's confused.
Code: [Select]ren "D:\Program Files" D:\old thanks for the quick reply. i just tried it and still get incorrect syntax message. BC_Programmer, Why didn't you tell him?
If he don't know much about the syntax, he may not know that he should not rename the Program Files folder. And why at the command line? Or was this just another home work assignment from that goofy professor that only knows DOS? not quite,
i've partitioned the hard drive into LABELS, boot and program files. i want to shift the program files from boot to the partition, program files. if i did a copy and paste i thought that some programs might not work because they have registry entries pointing to their original location. therefore i have downloaded an app CALLED robocopy.exe, copied it to system32 folder and trying to rename pf folder to 'old', then using the app to move the files, then deleting the 'old' when all transferred across.
capiche ??
nickcapiche !does this make sense ??
i've partitioned the hard drive into labels, boot and program files. i want to shift the program files from boot to the partition, program files. if i did a copy and paste i thought that some programs might not work because they have registry entries pointing to their original location. therefore i have downloaded an app called robocopy.exe, copied it to system32 folder and trying to rename pf folder to 'old', then using the app to move the files, then deleting the 'old' when all transferred across.
cheers
nickWindows Server 2003 Resource Kit Tools
rktools.exe
http://www.microsoft.com/downloads/details.aspx?FamilyID=9D467A69-57FF-4AE7-96EE-B18C4790CFFD&displaylang=en
|