- Local time
- 5:38 PM
- Posts
- 79
- OS
- Windows 11 Home 23H2
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Desktop: it worksAre you saying it worked now or just that it works on desktop but still not on D:?
I execute bat file from Desktop on C it works.Run the test again but make it
D:\test\test.txt
and
D:\test2\
To see if it works on D at all
Add the following as the first line for your powershell commands:I execute bat file from Desktop on C it works.
So it doesn't work if I execute bat file from D to move file on D.
Set-Location -Path D:\
Set-ExecutionPolicy -ExecutionPolicy Unrestricted
set-executionpolicy remotesigned
Move-Item -Path D:\SOURCE\*.* -Destination D:\DESTINATION\ -Confirm -Force
Move-Item -Path "D:\Bandeja de entrada\000 Móvil\Audios\*.*" -Destination "D:\Bandeja de entrada\Audios"
echo off
cmd.exe /C
robocopy "D:\Bandeja de entrada\000 Móvil\Audios\*.*" "D:\Bandeja de entrada\Audios" /E
start "" C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe "Move-Item -Path "D:\SOURCE\*.*" -Destination "D:\DESTINATION"
move /y "D:\SOURCE\*.*" "D:\DESTINATION"