redpipe67
February 24th, 2005, 06:54 AM
Hello,
I wonder if anyone could help me with a batch file i would like to create. The object is to have a text file on a cd rom along with the batch file. Executing the batch file would then copy the text file to C:\Program Files. I would need this batch file to be able to run under all versions of windows also. I was under the impression that as long as the batch file was in the same directory as the text file then all i would need to specify would be:
copy test.txt c:\Program Files
negating to account for the changing drive letter of a cd rom and could be used in different pc's with cd roms of varying drive letters but nothing happens.
Can someone let me know how this would be completed successfully.
Thank you very much
Andy
I wonder if anyone could help me with a batch file i would like to create. The object is to have a text file on a cd rom along with the batch file. Executing the batch file would then copy the text file to C:\Program Files. I would need this batch file to be able to run under all versions of windows also. I was under the impression that as long as the batch file was in the same directory as the text file then all i would need to specify would be:
copy test.txt c:\Program Files
negating to account for the changing drive letter of a cd rom and could be used in different pc's with cd roms of varying drive letters but nothing happens.
Can someone let me know how this would be completed successfully.
Thank you very much
Andy