directory paths using MacroScheduler on Win95; quotes

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
jtgalkowski
Newbie
Posts: 5
Joined: Wed Nov 26, 2003 7:49 pm
Location: Endicott, NY, USA
Contact:

directory paths using MacroScheduler on Win95; quotes

Post by jtgalkowski » Wed Jan 14, 2004 7:10 pm

Hi. Two different questions

I'm scripting something for a Win95 system. If I do things like

Change Directory> ...

do I need to use the DOS filename aberrations, e.g.,

Let>newCD="C:\progra~1\mjtnet~1\macros~1"
Change Directory>newCD

or can I do it right, that is,

Let>newCD="C:\Program Files\MJT Net Ltd\Macro Scheduler"
Change Directory>newCD

My second question is how do I put a quote in a string? Double it? Slashify it?

Thanks,

- Jan Theodore Galkowski

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Wed Jan 14, 2004 9:50 pm

Hi,

With the Change Directory command you can do it either way - either use the short name version of put the path in quotes. This is nothing to do with strings but more to do with the way the operating system works.

With other strings you don't need to use quotes so if you need a quote mark within a string just bung it in.
MJT Net Support
[email protected]

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts