windows可以使用命令列控制資料夾共用,配合工作排程器相當好用。
net share [ShareName] net share [ShareName=Drive:Path [{/users:number|/unlimited}] [/remark:"text"] [/cache: {manual|automatic|no}]] [/GRANT:user,[READ | CHANGE | FULL]]
另外net share [ShareName]可以看目前共用資料夾的狀態
參考資料
https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/file_srv_command_line.mspx?mfr=true
https://social.technet.microsoft.com/Forums/windowsserver/en-US/e16b7a68-7464-40e9-a479-4f6deceb62d6/net-share-with-permissions
2015年11月5日 星期四
2015年10月5日 星期一
rebot
robotframework 可以使用 rebot <file1>.xml <file2>.xml來合併xml,並且合併之後log.html與report.html也會跟著update
可使用參數--name <name>來變更suite name
如用Windows寫sh script時要注意檔案格式需為UNIX,否則可能有執行上問題,錯誤訊息
' failed: Data source does not exist.Appengine/X3000001.robot
Try --help for usage information.
: not found3: script.sh:
參考資料
https://twiki.cern.ch/twiki/bin/view/EMI/RobotFrameworkAdvancedGuide#Using_the_rebot_Tool
http://stackoverflow.com/questions/25988071/combining-robot-framework-test-reports
可使用參數--name <name>來變更suite name
如用Windows寫sh script時要注意檔案格式需為UNIX,否則可能有執行上問題,錯誤訊息
' failed: Data source does not exist.Appengine/X3000001.robot
Try --help for usage information.
: not found3: script.sh:
參考資料
https://twiki.cern.ch/twiki/bin/view/EMI/RobotFrameworkAdvancedGuide#Using_the_rebot_Tool
http://stackoverflow.com/questions/25988071/combining-robot-framework-test-reports
Winodws boot fail 0xc0000098 pciidex.sys
windows開機時出現錯誤訊息0xc0000098 pciidex.sys無法載入。後來看了許多方法,比較有用的是使用Gparted備份除windows以外的資料夾再將資料倒回到新安裝的windows。但是還是有很多問題如檔案系統異常,圖示消失等,最後是還原到前一個備份點。
原因可能是在windows update的時候異常關機。
試過的方法有
bootrec /rebuildbcd
copy system32 files
windows system recovery windows修復開機
copy C:\Windows\System32\config
都無效,供參考
不過如果是其他的問題可能可以參考上面的方法處理
另外在修復控制台的命令列使用xcopy出現access denied不是權限問題而是檔案唯讀,可使用/R參數覆寫
參考資料
http://superuser.com/questions/358651/bootmgr-is-missing-usual-fixes-dont-work
Total identified Windows installations: 0
http://answers.microsoft.com/en-us/windows/forum/windows8_1-windows_install/total-identified-windows-installations-0/52359f87-de4a-41dc-b0c3-cc275e1d9fbf?auth=1
xcopy
https://support.microsoft.com/zh-tw/kb/240268
原因可能是在windows update的時候異常關機。
試過的方法有
bootrec /rebuildbcd
copy system32 files
windows system recovery windows修復開機
copy C:\Windows\System32\config
都無效,供參考
不過如果是其他的問題可能可以參考上面的方法處理
另外在修復控制台的命令列使用xcopy出現access denied不是權限問題而是檔案唯讀,可使用/R參數覆寫
參考資料
http://superuser.com/questions/358651/bootmgr-is-missing-usual-fixes-dont-work
Total identified Windows installations: 0
http://answers.microsoft.com/en-us/windows/forum/windows8_1-windows_install/total-identified-windows-installations-0/52359f87-de4a-41dc-b0c3-cc275e1d9fbf?auth=1
xcopy
https://support.microsoft.com/zh-tw/kb/240268
2014年6月19日 星期四
電腦右鍵選單管理無法開啟電腦管理(磁碟管理)
請進入REGEDIT修改:
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Manage\command]
將預設值改為 mmc.exe %windir%\system32\compmgmt.msc 就可以了
參考資料
http://www.mobile01.com/topicdetail.php?f=300&t=1681759&p=1
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Manage\command]
將預設值改為 mmc.exe %windir%\system32\compmgmt.msc 就可以了
參考資料
http://www.mobile01.com/topicdetail.php?f=300&t=1681759&p=1
訂閱:
文章 (Atom)