Link to home
Start Free TrialLog in
Avatar of Andrea Erskin
Andrea Erskin

asked on

Running Batch files or Converting into Powershell scripts

How do I convert this batch file into a exe or powershell script.
Avatar of aikimark
aikimark
Flag of United States of America image

this batch file
what batch file?
Include attachment or post text of file contents please ...
Avatar of Andrea Erskin
Andrea Erskin

ASKER

DEL "%appdata%\Microsoft\Templates\AMA\*.*" /f
IF NOT EXIST "%appdata%\Microsoft\Templates\AMA" mkdir %appdata%\Microsoft\Templates\AMA
Xcopy "%~dp0templates\*.*" "%appdata%\Microsoft\Templates\AMA" /y
ASKER CERTIFIED SOLUTION
Avatar of N8iveIT
N8iveIT
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
PS: Don't forget to store all BAT's in your C:\Belfry folder!
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Assuming one of these resolved the issue; split points.