开发者

to run schtasks in windows xp using vb script [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.

Want to improve this question? Add details and clarify the problem by editing this post.

Closed 8 years ago.

开发者_运维技巧 Improve this question

i try to run schtasks using vb script. it runs fine when the path name is without space(/TR C:\ABC.exe) but when i give path name as "/TR C:\Documents and Settings\All Users\Desktop\ABC.exe",i.e with space. the task is not created.


Use double quotes for the path, like you would do it on the command line.

As a VBScript string, this looks like:

"/TR ""C:\Documents and Settings\All Users\Desktop\ABC.exe"""
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜