Slash or Backslash in command line for directorys?
Posted: 14 Feb 2017 14:11
Hello,
i use the command line for recording my desktop.
I had to find that in the directory once both slash / and backslash \ works and other times only one of both. In one case, even two backslashes were OK.
What is the correct use?
All examples works:
i use the command line for recording my desktop.
I had to find that in the directory once both slash / and backslash \ works and other times only one of both. In one case, even two backslashes were OK.
What is the correct use?
All examples works:
Code: Select all
START "" F:\VIDEOLAN\VLC215\vlc.exe --extraintf=logger --verbose=2 --logfile=F:\VIDEOLAN\vlc.log --logmode=text --file-logging screen:// :screen-fps=25 :screen-left=0 :screen-top=0 :screen-width=960 :screen-height=540 :sout=#transcode{vcodec=h264,vb=1600}:file{dst=F:\\VIDEOLAN\\Test_01.mp4}
Code: Select all
START "" "F:/VIDEOLAN/VLC215/vlc.exe" screen:// :screen-fps=25 :screen-left=0 :screen-top=0 :screen-width=960 :screen-height=540 :sout=#transcode{vcodec=h264,vb=1600}:file{dst=F:/VIDEOLAN/vlc02.mp4}
Code: Select all
START "" "F:\VIDEOLAN\VLC215\vlc.exe" screen:// :screen-fps=25 :screen-left=0 :screen-top=0 :screen-width=960 :screen-height=540 :sout=#transcode{vcodec=h264,vb=1600}:file{dst=F:/VIDEOLAN/vlc02.mp4}
Code: Select all
START "" "F:\VIDEOLAN\VLC215\vlc.exe" screen:// :screen-fps=25 :screen-left=0 :screen-top=0 :screen-width=960 :screen-height=540 :sout=#transcode{vcodec=h264,vb=1600}:file{dst=F:\VIDEOLAN\vlc02.mp4}