Dim disk_letter As String disk_letter = Left(CurDir$(), 1) That was all....
powershell,volumes,drive-letter
maybe this should help: gwmi Win32_Volume | ? { $_.deviceID -eq '\?\Volume{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}\'} | select -expand name ...
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...