Search found 3 matches

by steelrodman
12 Sep 2012 02:41
Forum: DOS Batch Forum
Topic: Copy files that were created yesterday to parent directory
Replies: 6
Views: 5815

Copy files that were created yesterday to parent directory

Hi All, I'm looking for a batch file that will copy .txt files to the parent directory one day after they are created. For example: 1st Jan, 2012 - hello.txt is created in C:\Parent\Subdir\ 2nd Jan, 2012 Batch file is run, hello.txt is copied to C:\Parent\ 3rd Jan, 2012 No more files have been creat...
by steelrodman
31 Jan 2012 09:36
Forum: DOS Batch Forum
Topic: Assigning part of result to a variable
Replies: 2
Views: 3925

Re: Assigning part of result to a variable

This works perfectly!

Thanks very much for the solution, and speedy reply.
by steelrodman
31 Jan 2012 09:20
Forum: DOS Batch Forum
Topic: Assigning part of result to a variable
Replies: 2
Views: 3925

Assigning part of result to a variable

Firstly sorry for the poor title. I am trying to write a batch file that will logoff Citrix (Terminal Services) connections. The username will be passed to the batch file from an external application. I need to use this to logoff the session from the batch file. logoff username /Server:server1 shoul...