SteveMac32
Programmer
Hi all,
I want to run a batch file that will move various specified files to the System32 folder at the moment I use:
For XP
copy ..\utilities\buildexe\buildexe.exe c:\windows\system32
2000 and below
copy ..\utilities\buildexe\buildexe.exe c:\winnt\system32
Is it possible to run one batch file for any operating system, what I want is to put these files in the system32 folder but without specifying ‘winnt’ or ‘windows’ in the file path. Someone has mentioned using %system% any ideas on this?
Thanks in advance
Steve
I want to run a batch file that will move various specified files to the System32 folder at the moment I use:
For XP
copy ..\utilities\buildexe\buildexe.exe c:\windows\system32
2000 and below
copy ..\utilities\buildexe\buildexe.exe c:\winnt\system32
Is it possible to run one batch file for any operating system, what I want is to put these files in the system32 folder but without specifying ‘winnt’ or ‘windows’ in the file path. Someone has mentioned using %system% any ideas on this?
Thanks in advance
Steve