Author Topic: script files  (Read 1696 times)

0 Members and 1 Guest are viewing this topic.

Big G

  • Bull Frog
  • Posts: 415
script files
« on: October 26, 2010, 10:26:10 PM »
Ive been asked by one of our users in here to make him a 'toolbar' button that runs a script file which purges and audits etc....

Code: [Select]
filedia 0 textscr script C:\Documents and Settings\My Documents\_drg_script.scr filedia 1
ive tried putting the path in commas "." and single quotes '.' but it always hangs after the c prompt....

I ended up dumping the contents of the script file into the long string editor in the CUI, but for future reference was wondering if anyone knows how to path to a specific file from a toolbar button?



I thought i seen the light at the end of the tunnel. But it was just someone with a torch bringing me more work.
"You have to accept that somedays youre the pigeon and  somedays youre the statue"

Serge J. Gianolla

  • Guest
Re: script files
« Reply #1 on: October 26, 2010, 10:58:52 PM »
Have you tried 2 backslashes or one forward instead? You probably need the quotation marks too

DaveD

  • Guest
Re: script files
« Reply #2 on: November 09, 2010, 12:37:58 PM »
ie:

filedia 0 script "C:\\Documents and Settings\\My Documents\\_drg_script.scr" filedia 1

I like putting the ; in, too, to be sure of my <enter>'s:

filedia;0;script;"C:\\Documents and Settings\\My Documents\\_drg_script.scr";filedia;1

You probably won't need the filedia toggle, either.  If it gets in the way I'd take it out


Ive been asked by one of our users in here to make him a 'toolbar' button that runs a script file which purges and audits etc....

Code: [Select]
filedia 0 textscr script C:\Documents and Settings\My Documents\_drg_script.scr filedia 1
ive tried putting the path in commas "." and single quotes '.' but it always hangs after the c prompt....

I ended up dumping the contents of the script file into the long string editor in the CUI, but for future reference was wondering if anyone knows how to path to a specific file from a toolbar button?