Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

File Functions on NT

Posted on 2003-02-20
7
Medium Priority
?
189 Views
Last Modified: 2013-12-25
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
0
Comment
Question by:Durell
  • 3
  • 2
5 Comments
 
LVL 7

Expert Comment

by:markhoy
ID: 8016542
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!
0
 

Author Comment

by:Durell
ID: 8024991
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
0
 
LVL 7

Expert Comment

by:markhoy
ID: 8025148
so are you running Perl5 on your NT box?
0
 

Author Comment

by:Durell
ID: 8025199
yes
0
 
LVL 7

Accepted Solution

by:
markhoy earned 400 total points
ID: 8025420
sorry not working on a perl box this week but these should have good stuff:

perlmonks.com or hotscripts.com

also:

perlarchive.com
cgi-resources.com
perlcoders.com
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will focus on how to use WhizBase as a tool for sending ICQ messages to ICQ. Here I will use a new technology in WhizBase, published in WhizBase 5.1 version. In this tutorial I will use 3 files, pager.wbsp for the processing, e…
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Suggested Courses

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question