コマンドプロンプト/ネットワークドライブの割り当て・切断をする方法・net use
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
#navi(../)
* コマンドでネットワークドライブの割り当て・切断をする方...
コマンドプロンプト上やバッチファイルでネットワークドライ...
#contents
#htmlinsertpcsp(win-top.html,win-sp.html)
* 関連記事 [#r6cc7c41]
-[[PowerShellによるネットワークドライブの接続・切断>Power...
* ネットワークドライブの割り当て [#v5326b61]
ネットワークドライブの割り当てをする場合、以下のコマンド...
net use ドライブレター: \フォルダパス パスワード /user:...
以下のような環境の場合は
|割り当てドライブ|P|
|サーバorIP|192.168.1.81|
|フォルダ|share|
|パスワード|password|
|ユーザアカウント|sakura|
以下のようになります。
net use p: \\192.168.1.81\share password /user:sakura
実際にコマンドを実行したときのコマンド実行出力とスクリー...
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.
C:\Users\sakura>net use p: \\192.168.1.81\share password...
コマンドは正常に終了しました。
C:\Users\sakura>
#br
#ref(1.png)
* ネットワークドライブの切断 [#a41ec29a]
ネットワークドライブの切断を行うコマンド構文は以下の通り...
net use ドライブレター: /delete
上記ではP:ドライブとして割り当てましたので、P:ドライブを...
net use p: /delete
実際に実行したときの出力です。
C:\Users\sakura>net use p: /delete
p: が削除されました。
以上、ネットワークドライブの割り当ておよび切断をコマンド...
#htmlinsertpcsp(win-btm.html,win-sp.html)
終了行:
#navi(../)
* コマンドでネットワークドライブの割り当て・切断をする方...
コマンドプロンプト上やバッチファイルでネットワークドライ...
#contents
#htmlinsertpcsp(win-top.html,win-sp.html)
* 関連記事 [#r6cc7c41]
-[[PowerShellによるネットワークドライブの接続・切断>Power...
* ネットワークドライブの割り当て [#v5326b61]
ネットワークドライブの割り当てをする場合、以下のコマンド...
net use ドライブレター: \フォルダパス パスワード /user:...
以下のような環境の場合は
|割り当てドライブ|P|
|サーバorIP|192.168.1.81|
|フォルダ|share|
|パスワード|password|
|ユーザアカウント|sakura|
以下のようになります。
net use p: \\192.168.1.81\share password /user:sakura
実際にコマンドを実行したときのコマンド実行出力とスクリー...
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.
C:\Users\sakura>net use p: \\192.168.1.81\share password...
コマンドは正常に終了しました。
C:\Users\sakura>
#br
#ref(1.png)
* ネットワークドライブの切断 [#a41ec29a]
ネットワークドライブの切断を行うコマンド構文は以下の通り...
net use ドライブレター: /delete
上記ではP:ドライブとして割り当てましたので、P:ドライブを...
net use p: /delete
実際に実行したときの出力です。
C:\Users\sakura>net use p: /delete
p: が削除されました。
以上、ネットワークドライブの割り当ておよび切断をコマンド...
#htmlinsertpcsp(win-btm.html,win-sp.html)
ページ名: