windows-toolbox/Installs/Bat/CreatePersonalWillowUserFolder.bat

13 lines
289 B
Batchfile
Raw Normal View History

2024-07-16 01:25:46 -04:00
@echo off
set "folderPath=\\SMB\depts\Users\%username%"
set "folderPathprivate=\\SMB\depts\Users\%username%\Private"
if not exist "%folderPath%" (
md "%folderPath%"
md "%folderPathprivate%"
rem echo Folder created successfully!
) else (
echo Folder already exists!
)
exit