0
0

コマンドプロンプトで開く 「ユーザー名とパスワードが必要な共有フォルダ」編

Posted at

経緯

所属先のプロジェクトにて「共有フォルダ」(クラウドではありません)でドキュメントなどの管理をしており、出社後に即バッチ起動できないかと思い試したことを備忘のため記載しました。

コマンドサンプル

「net use フォルダのパス名 /user:ユーザー名 パスワード」がポイント

set folderPath_1=フォルダのパス
net use %folderPath_1% /user:ユーザー名 パスワード
start %folderPath_1%
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0