Thread: running ms dos batch files in winxp
-
Jun 10th, 2007 03:12 PM
#1
running ms dos batch files in winxp
i am using a batch file basically to edit a file in "my documents" and then copy it onto the network. i am using a ms dos batch file and for some reason it is saying, "can't find the path". i suspect that the reason why is that msdos only understand 12 characters and you can't use; c:\documents and settings...... so then what does a person use? i know that in win98se, my documents truncates in the command prompt window to \mydocu~1...so what about in winxp?
-
-
Jun 10th, 2007 03:22 PM
#2
Newbie
Either use the "~" names or just enclose the entire path in quotes. For example:
copy "c:\documents and settings\dir1\file.ext" "c:\documents and settings\dir2\"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules