runas遇上()特殊符號會被濾掉 - Windows
By Quintina
at 2015-10-12T16:44
at 2015-10-12T16:44
Table of Contents
請問
狀況一
runas /user:abc c:\test(1)\a.cmd 或 runas /user:abc "c:\test(1)\a.cmd"
執行後conhost有run起來,不過cmd會找不到檔案c:\test(1)\a.cmd而立即結束
因為'c:\test' 不是內部或外部命令、可執行的程式或批次檔。
(1)\a.cmd都消失了
狀況二
runas /user:abc 'c:\test(1)\a.cmd'
連提升都還沒提升就找不到檔案
解法一
拉個捷徑放在沒有()的路徑在runas捷徑即可
不知有沒有方法可以省掉拉捷徑這個步驟
謝謝
--
狀況一
runas /user:abc c:\test(1)\a.cmd 或 runas /user:abc "c:\test(1)\a.cmd"
執行後conhost有run起來,不過cmd會找不到檔案c:\test(1)\a.cmd而立即結束
因為'c:\test' 不是內部或外部命令、可執行的程式或批次檔。
(1)\a.cmd都消失了
狀況二
runas /user:abc 'c:\test(1)\a.cmd'
連提升都還沒提升就找不到檔案
解法一
拉個捷徑放在沒有()的路徑在runas捷徑即可
不知有沒有方法可以省掉拉捷徑這個步驟
謝謝
--
Tags:
Windows
All Comments
By Frederica
at 2015-10-14T17:11
at 2015-10-14T17:11
By Edith
at 2015-10-18T23:36
at 2015-10-18T23:36
By Sandy
at 2015-10-22T06:54
at 2015-10-22T06:54
By Hazel
at 2015-10-26T14:50
at 2015-10-26T14:50
By Ophelia
at 2015-10-26T16:10
at 2015-10-26T16:10
By Hardy
at 2015-10-29T00:07
at 2015-10-29T00:07
By Sierra Rose
at 2015-10-30T13:37
at 2015-10-30T13:37
By Jacob
at 2015-10-31T13:32
at 2015-10-31T13:32
By Olive
at 2015-11-05T11:45
at 2015-11-05T11:45
By Faithe
at 2015-11-07T21:52
at 2015-11-07T21:52
By Kama
at 2015-11-08T10:40
at 2015-11-08T10:40
By Emily
at 2015-11-12T20:44
at 2015-11-12T20:44
Related Posts
win10在鎖定畫面,無法登入系統
By Agatha
at 2015-10-12T12:42
at 2015-10-12T12:42
win10 左下角搜尋功能失效?
By Rebecca
at 2015-10-11T20:57
at 2015-10-11T20:57
安裝win7後直接掛載win10vhd
By Genevieve
at 2015-10-11T18:16
at 2015-10-11T18:16
WIN 10安裝驅動程式可是會自動恢復舊版本
By Andy
at 2015-10-11T17:13
at 2015-10-11T17:13
WIN7 windows update卡在檢查更新
By Rae
at 2015-10-11T15:18
at 2015-10-11T15:18