申し訳ありませんが、これらすべてに非常に新しいです。現在、使用入力に基づいてフォルダーを作成するための基本的なスクリプトをまとめようとしています。入力が可能になり、フォルダーが作成されますが、入力ボックスのデータは作成されません。
dim UserName
UserName = InputBox ("Please enter user name")
if Username = "" then
MsgBox("No username entered")
do while(UserName = "")
UserName = InputBox ("Please enter user name")
if Username = "" then
MsgBox("No Username entered")
else
MsgBox("Please click OK to continue")
end if
Loop
else
MsgBox ("Please click ok to continue")
end if
Set objShell = CreateObject("Wscript.Shell")
objShell.Run "cmd /c mkdir c:\temp\UserName"
私が言ったように、これは非常に新しいので、正しい方向へのヒントや指針を受け入れます.
事前に乾杯