Search found 8 matches

by bmichael
Thu Dec 29, 2005 12:36 am
Forum: Technical / Scripting
Topic: Creating Subdirectories
Replies: 5
Views: 7022

THANKS!

Thanks! I understand that I am not programming efficiently. I am just learning this scripting. This is my first attempt at something useful for us since I had our IT staff buy this software. I have changed the VB script as you suggested, and am posting what I've done so far in case anyone else wants...
by bmichael
Wed Dec 28, 2005 8:12 pm
Forum: Technical / Scripting
Topic: Creating Subdirectories
Replies: 5
Views: 7022

Figured it out!

Figured out the Variable question... easy enough to pass the variable from Macro... This allows me to create multiple paths to create and pass them through your VB script as a sub. Thanks! Let>create_path=c:\test\username\test_user\did it work\ Gosub>DirCreate SRT>DirCreate VBSTART Sub CreateFullPat...
by bmichael
Wed Dec 28, 2005 7:30 pm
Forum: Technical / Scripting
Topic: Creating Subdirectories
Replies: 5
Views: 7022

the recursive VBscript is slick

Can I use Macro to pass a variable to the VBRun command?

VBRun>CreateFullPath,Variable_created_in_Macro
by bmichael
Wed Dec 28, 2005 6:50 pm
Forum: Technical / Scripting
Topic: Creating Subdirectories
Replies: 5
Views: 7022

Creating Subdirectories

Is there an easy way to create a subdirectory rather than through multiple statements? i.e. createdir c:\test\username\docs1\marketing\graphics (Does not work unless all of the directories already exist) I have had to do this: createdir c:\test\ createdir c:\test\username\ createdir c:\test\username...
by bmichael
Wed Dec 28, 2005 5:28 pm
Forum: Technical / Scripting
Topic: Simple CopyFile on Windows XP pro just doesn't work...!
Replies: 3
Views: 5306

Got it...

I made the incorrect assumption that a directory would be created if one does not exist. I took your code and added an IfDirExists statement and now it's fine. As far as the wildcards go, I guess they are redundant. It's force of habit and a little more exact to me when I look at the structure. Than...
by bmichael
Wed Dec 28, 2005 4:55 pm
Forum: Beginners
Topic: Simple Copy File Not Working on XP
Replies: 2
Views: 5056

Sorry...

Sorry! New to the site. After I posted here, I thought that I was probably suppose to post it in "Technical Scripting". I will check there.

Thanks.
Bruce.
by bmichael
Wed Dec 28, 2005 2:05 am
Forum: Technical / Scripting
Topic: Simple CopyFile on Windows XP pro just doesn't work...!
Replies: 3
Views: 5306

Simple CopyFile on Windows XP pro just doesn't work...!

I have done some other scripting tests, but am having difficult with something SUPER basic where copyfile just does not work. Here is the initial test code: Input>Bridgeuser,Enter the first initial & last name of the user Let>source1=c:\test\*.* Let>dest1=c:\test\%Bridgeuser%\*.* CopyFile>source1,de...
by bmichael
Wed Dec 28, 2005 1:45 am
Forum: Beginners
Topic: Simple Copy File Not Working on XP
Replies: 2
Views: 5056

Simple Copy File Not Working on XP

Hi - I have done some other scripting tests, but am having difficult with something SUPER basic where copyfile just does not work. Here is the initial test code: Input>Bridgeuser,Enter the first initial & last name of the user Let>source1=c:\test\*.* Let>dest1=c:\test\%Bridgeuser%\*.* CopyFile>sourc...
Sign up to our newsletter for free automation tips, tricks & discounts