On Monday 09 August 2010 01:23:24 pm Jerome Leclanche wrote: > Hi > > After fixing a bug in MPQEdit related to opening directories, I > noticed winepath returns a different result with and without quotes: > > a...@azura:~/.wine/drive_c$ winepath -w > a...@azura:~/.wine/drive_c$ winepath -w "" > C:\ > > With quotes it returns the current directory. Is that intended? If not > I'll open a bug... > > > > J. Leclanche
Yes, it's intended. winepath converts zero or more arguments. An empty argument means "start from current dir... and print!" [pa...@bussard drive_c]$ winepath -w "" users "Program Files" C:\ C:\users C:\Program Files Paul
