Guest muke Posted March 1, 2004 Share Posted March 1, 2004 I have a simple script that runs as scheduled task; it just makes a backup copy of the existing contents of a directory. Is it possible to write the copied flle names out to a result file so you can compare to the source dir? Thanks. Link to comment Share on other sites More sharing options...
GrahamS Posted March 1, 2004 Share Posted March 1, 2004 Try run(@comspec & " /c dir c:\OriginalDir /b > c:\dir1.txt") GrahamS Link to comment Share on other sites More sharing options...
Guest muke Posted March 2, 2004 Share Posted March 2, 2004 Thanks, I'll try it. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now