Eprs_Admin
asked on
script needed
Hi Experts,
I need a script to copy two files from a share to my clients.
The files needed to be copied to the programfiles folder.
Before the copy, the script has to check if its a x86 or x64 system.
Any ideas ?
I need a script to copy two files from a share to my clients.
The files needed to be copied to the programfiles folder.
Before the copy, the script has to check if its a x86 or x64 system.
Any ideas ?
ASKER
I need a script for it.
The script should check it like:
wmic os get architecture
and the result should of it should decide to install into folder x64 or x86.
How to do this via batch script
The script should check it like:
wmic os get architecture
and the result should of it should decide to install into folder x64 or x86.
How to do this via batch script
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I have seen, this is powershell.
How to do this in DOS as batch file?
Because the clients don´t have PS installed
How to do this in DOS as batch file?
Because the clients don´t have PS installed
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If it does, copy the x64 version, if not, go for the x86 one
HTH,
Dan