Jump to content

Comspec...


Recommended Posts

Just need to know if it is possible to pass a variable to a comspec line. ie

RunWait,%comspec% attrib -r %notesdata%bookmark.nsf

I get ensure backslashes have been properly used, like the path is wrong.... and the error doesn't show the %NotesPath%

The %comspec% shows up correctly in the error, but again no %notesData% path...

I even try to open CMD.exe then send the keystrokes but none come onto the screen...

is there something I have missed???

Thanks in advance...

CW

Link to comment
Share on other sites

May need quotes around the path name. Does this work?

RunWait,%comspec% attrib -r "%notesdata%bookmark.nsf"

If not, try either:

RunWait,%comspec% attrib -r %notesdata%\\bookmark.nsf

or

RunWait,%comspec% attrib -r "%notesdata%\\bookmark.nsf"

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...