I have scripts that run on Win2K/WinXP/win23k/winvista machines 32bit OS i.e "if exist "c:\programs files\ntp\ntp.exe" do xcopy "\\filesrv2\time server\ntp.conf" "c:\program files\etc\" It runs great with no problem.
I have recently introduced Windows Vista 64bit. The default install location for the ntp program is now
I want a syntax that will work for 32 bit and 64bit OS.
i.e. script checks both locations and then run it