Menu
  • HOME
  • TAGS

How do i get drive letter for a running form

vb6,drive-letter

Dim disk_letter As String disk_letter = Left(CurDir$(), 1) That was all....

Powershell Script to compare VolumeID to DriveLetter

powershell,volumes,drive-letter

maybe this should help: gwmi Win32_Volume | ? { $_.deviceID -eq '\?\Volume{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}\'} | select -expand name ...

Java Servlet absolute paths outside webfolder [ Windows & Linux ]

java,linux,tomcat,servlets,drive-letter

Leading slash in Linux means "absolute path", so you can be sure that if you use path like /work/logs/<something> it will understand it as an absolute path. BTW if you use the same path in Windows it will work and use current disk, i.e. if tomcat's working directory is on...