Search found 8 matches

by parkerthompson
Wed May 31, 2006 8:11 pm
Forum: Technical / Scripting
Topic: .exe Macro checking for a newer version of it's self.
Replies: 2
Views: 5738

Thanks again, I've posted what you wrote with a few modifications and some remarks. This is working like a charm for my photocopy.exe. Rem>from and to file for comparison Let>file1=m:\photocopy.exe Rem>ORDER IS IMPORTANT Let>file2=c:\photocopy.exe Rem>It looks good? Let>RP_WAIT=1 GetTime>StartTime R...
by parkerthompson
Wed May 31, 2006 6:35 pm
Forum: Technical / Scripting
Topic: .exe Macro checking for a newer version of it's self.
Replies: 2
Views: 5738

.exe Macro checking for a newer version of it's self.

If anyone has an example I'd enjoy seeing it. I'm going to attempt an auto update to my program, just a Macro Scheduler .exe file. For example the program is located on c:\program files\myprogram. The latest revision is located on a network share m:\myprogram. When I launch the local program, one of...
by parkerthompson
Tue May 30, 2006 6:25 pm
Forum: Technical / Scripting
Topic: Run command could possibly take a while.
Replies: 2
Views: 4399

That works well, Thanks Dick!!!

I may have to ask for a raise. :>)

Frank
by parkerthompson
Thu May 25, 2006 11:50 pm
Forum: Technical / Scripting
Topic: Run command could possibly take a while.
Replies: 2
Views: 4399

Run command could possibly take a while.

I'm using Run>cmd.exe /c with a variable that represents copying a group off files from one directory to another over a VPN connection. When I tested it from my house using a cable modem the copy process did indeed take awhile. Our site foreman are now required to send pictures of their projects onc...
by parkerthompson
Thu May 25, 2006 11:13 pm
Forum: Technical / Scripting
Topic: Question on getting file lists from a folder, changing drive
Replies: 17
Views: 23048

Dick, what a difference even with mtettmar’s revision, It's and excellent example, and illustrates a good point. With dos’s dir, I’m guessing its one continuous process which just dumps as it goes. Sort of like a train without any stops. I figure if you’re using the VBS s...
by parkerthompson
Wed May 03, 2006 1:23 pm
Forum: Technical / Scripting
Topic: Question on getting file lists from a folder, changing drive
Replies: 17
Views: 23048

Your input

Thank you for your input, I've made the changes your sugested.

Still a few issues, but it's usable, it will only be going on 6 or 7 computers.

Take Care,
Frank
by parkerthompson
Tue May 02, 2006 4:00 pm
Forum: Technical / Scripting
Topic: Question on getting file lists from a folder, changing drive
Replies: 17
Views: 23048

Thanks JRL

I dumped the Windows script and added your 2 lines with some modification and got it to work. The script is all over the place, but it works. I think Macro Scheduler is a really great product. I really appreciate the context sensitive help. I remember the good old days using FoxPro 2.6 they had the ...
by parkerthompson
Mon May 01, 2006 6:30 pm
Forum: Technical / Scripting
Topic: Question on getting file lists from a folder, changing drive
Replies: 17
Views: 23048

Question on getting file lists from a folder, changing drive

I found this script in the forum. How can I use a variable for the drive designation? Let>driveletter=L:\ GetAllSubFolders "P:\" replace P:\ with %driveletter% Thanks, Frank Let>driveletter=L:\ Let>VBS_TIMEOUT=20000 VBSTART Sub GetAllSubFolders(foldername) On Error Resume Next Dim f, fc Set f = fs.G...
Sign up to our newsletter for free automation tips, tricks & discounts