Update vm_smb_sync.bat
This commit is contained in:
parent
b0523e6c29
commit
2a399de582
@ -36,7 +36,9 @@ REM -- Main Loop: Iterate through mappings by index --
|
||||
for /L %%i in (1,1,%MAPPINGS_COUNT%) do (
|
||||
call :map_share "%%SHARE_%%i%%" "%%DRIVE_%%i%%" "%%USER_%%i%%" "%%PASS_%%i%%"
|
||||
)
|
||||
goto :eof
|
||||
|
||||
REM Continue to file copying section
|
||||
goto :copy_files
|
||||
|
||||
:map_share
|
||||
REM Parameters: %~1 = share, %~2 = drive, %~3 = user, %~4 = pass
|
||||
@ -60,7 +62,7 @@ if errorlevel 1 (
|
||||
|
||||
goto :eof
|
||||
|
||||
|
||||
:copy_files
|
||||
echo Copying files from Z:\git-repo\oh-my-windows\win11common...
|
||||
|
||||
xcopy /Y /E /I "Z:\git-repo\oh-my-windows\win11common\*" "%~dp0"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user