How can I shorten the path of a DOS prompt?

To remove the path from the prompt use ‘prompt $g’ which will just show the chevron. You can then use the ‘cd’ command anytime to see the directory you are in. E.g. C:\Windows\System32\drivers\etc>prompt $g > >cd C:\Windows\System32\drivers\etc >

“if not exist” command in batch file

if not exist “%USERPROFILE%\.qgis-custom\” ( mkdir “%USERPROFILE%\.qgis-custom” 2>nul if not errorlevel 1 ( xcopy “%OSGEO4W_ROOT%\qgisconfig” “%USERPROFILE%\.qgis-custom” /s /v /e ) ) You have it almost done. The logic is correct, just some little changes. This code checks for the existence of the folder (see the ending backslash, just to differentiate a folder from a file … Read more

Path prefixes \??\ and \\?\

In NT, “\??\” is a path prefix that stands for the object directory that’s reserved for a user’s devices, or more specifically, device aliases. A device alias is implemented in the object namespace as a symbolic link that typically resolves to a device object in the “\Device” directory. Sometimes in the documentation these device aliases … Read more

How to pass multiple arguments in processStartInfo?

It is purely a string: startInfo.Arguments = “-sk server -sky exchange -pe -n CN=localhost -ir LocalMachine -is Root -ic MyCA.cer -sr LocalMachine -ss My MyAdHocTestCert.cer” Of course, when arguments contain whitespaces you’ll have to escape them using \” \”, like: “… -ss \”My MyAdHocTestCert.cer\”” See MSDN for this.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)