Question Tilde~(basic Question)

Good Day sir,

I am running this in OS-COMMAND

Start "C:\Documents and Settings\carlo\Desktop\Restart"

but the code only reads 'C:\Documents'..

Help me how to use the tilde...I think tilde(~) can fix this?..

All replies will be so much appreciated..
 
Please post your full code snippet and not just a representation of it. I doubt the ~ on its own will help.
 
As Cringer suggests we need more info. Although on the face of it; it doesn't seem like a tilde issue, more an issue with quotes.

This seems to work:
Code:
OS-COMMAND ('Start "C:\Documents and Settings\carlo\Desktop\Restart"').

But more info would be nice...
 
Code:
OS-COMMAND SILENT (Start "C:\Documents and Settings\carlo\Desktop\Restart").

This is the code guys inserted in a button choose event.

And the error says..Can't find "C:\Documents".
 
Try
Code:
OS-COMMAND SILENT (Start "'C:\Documents and Settings\carlo\Desktop\Restart'").
Or to use a tilde as per your original query
Code:
OS-COMMAND SILENT (Start "~"C:\Documents and Settings\carlo\Desktop\Restart~"").
 
Back
Top