Jump to content

Recommended Posts

Posted

All apps instaling and doing fine now..!

But I came to two problems.

But I have commands also like.

COPY /Y %CDROM%\apps\putty.exe %userprofile%\Desktop\

or

RD /Q /S %systemdrive%\install

Or do I make some batch (when working from RunOnceEx in Unattended these commands down works fine.) file and make a point to %CDROM%\apps\putty.cmd


Posted

I used to use a .bat before I found AutoIT...seems more logical, even if you don't know anything. Here's some sample code:

:Delete A Folder (The 1 is to recursively delete, or remove the folder and everything in it)
DirRemove ( "C:\Folder" ,1 )

:Copy A File...the first value is the files you want to copy, the second is where you want to copy them too
FileCopy ( "c:\old\file.exe", "C:\new" )

Check the attatchment for a little cheat sheet I made myself.

After you make the file, you can even turn it into an .exe real quick, and just run the .exe from WPI. All the tools are included with the install of the program.

AutoIT_Reference.txt

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...