Link to home
Start Free TrialLog in
Avatar of Durell
Durell

asked on

File Functions on NT

I need a CGI Script running on NT to do the following:

1.  Delete folder on another NT Box

2.  Create folder on another NT Box

3.  List folder contents on another mt Box

4.  Copy File from one NT Box to another NT Box (and
    NOT loose Date/Time Stamps)

5.  Check file on another Box:
           o Exist
           o Size  
           o Date
           o Time
           o Checksum
Avatar of markhoy
markhoy
Flag of United Kingdom of Great Britain and Northern Ireland image

If it is running on NT, use the scheduler to run a .wsh file or a .vbs file.

the methods to manipulate files and folders is called FSO; see www.aspfaqs.com > FSO for this.

Test the file as an asp file. then rewrite it as a .wsh file (remove all the server.createObject statements and use createObject instead).

Or you can use a trusty dos file, called as a batch file from the scheduler!
Avatar of Durell
Durell

ASKER

I wanted to keep this within CGI as I already have a cgi script to do some moves between unix & unix...

Yes this script will be running on NT
so are you running Perl5 on your NT box?
Avatar of Durell

ASKER

yes
ASKER CERTIFIED SOLUTION
Avatar of markhoy
markhoy
Flag of United Kingdom of Great Britain and Northern Ireland 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