... News | Home | Impressum | Contact | Thank you | Listed at | Link to me

  
   
HOME » Faq » FAQ - Q-Dir the file management »  ««« FAQ 54 OF 104 »»»

Is there a way to start Q-Dir with a parameter of path? E.g, I can do this with?


Q-Dir startup parameters or arguments for folders eg. directories:

Yes Q-Dir "c:\" "d:\" "e:\" "f:\"

Subsidiary question:
That's what I had tried, but without quotation marks. And always get the message: 'Failed to open the source file'. And I'm so in the next issue.
Q Dir.exe "Z: \" - works in the program directory, but
"C:\Program Files\Q-Dir\Q-Dir.exe" "Z:\" - from a bat does not work!
From the bat, you should use environment variable:

Maybe, the folder "Program Files" does not exist ;-)


"C:\Program Files\Q-Dir\Q Dir.exe" "Z:\"
Better: "%Program Files%\Q-Dir\Q-Dir.exe" "Z: \"

To environment variable:
http://en.wikipedia.org/wiki/Environment_variable


Maybe, the folder "Program Files" does not exist in the CMD :-).

FAQ 54: Updated on: April 8th 2014 13:57



The Freeware Program Q-DIR is suitable for Microsoft:
Windows 10 Pro, Windows 10 Enterprise, Windows 10 Home, Windows 8.1, Windows 8.1 Enterprise, Windows 8.1 Pro, Windows 8, Windows 8 Enterprise, Windows 8 Pro, Windows 7 Enterprise, Windows 7 Home Basic, Windows 7 Home Premium, Windows 7 Professional, Windows 7 Starter, Windows 7 Ultimate, Windows Vista Enterprise 64-bit edition, Windows Vista Ultimate 64-bit edition, Windows Vista Business, Windows Vista Business 64-bit edition, Windows Vista Enterprise, Windows Vista Ultimate, Windows XP Home and Pro, X64 and x32 all Windows, Windows Server 2000-2008,Windows Server 2012,Windows Server 2016.

Similar questions and answers in the Faq

 Start Q-Dir with last window position and view settings!
 How can i start with a favorite setting?
 Start with a favorite, without to register *.qdr?
 Change the default action of pressing WIN+E to start Q-Dir and not explorer.exe on Windows 7 and Windows 8?
 How can i do with Q-Dir pictures and posters print?
 Is there a command line option to start Always Mouse Wheel minimized (in Tray)?
 Is there a command line option to start the program minimized?
 Is there the Q-Dir File Manager for Linux or Mac OS X?
 Problem, PDF preview does not work for me with Q-Dir 4.15 x64?
 Start parameter in Don't Sleep, for example for a batch file?
 Start programs with different priority classes, how to?
 How can auto start the Mouse Pointer-Stick with Windows?
 Disable auto start of the speech recognition in Windows 8.1 (turn off)?

... My question is not there in the FAQ


Direct to FAQ:
# Q-DIR # WinScan2PDF # DontSleep # DesktopOK # Windows-10 # Windows-8 # Windows-7 # SoftwareOK # NewFileTime # ExperienceIndexOK # Run-Command # NonCompressibleFiles # BlankAndSecure # OnlyStopWatch # MultiClipBoardSlots # PointerStick # Extern-Downloads # DesktopSnowOK # System-General # Microsoft-Office # FileSystem # GetWindowText # TheAeroClock # ThisIsMyFile # AlwaysMouseWheel # Beginners # OneLoupe # Windows-Command-Prompt # ProcessKO # This-and-That-or-Other # IsMyHdOK # QuickTextPaste # MeinPlatz # Internet-WWW # FontViewOK # TraceRouteOK # Android # StressMyPC # Samsung-Galaxy # Glossar # WinBin2Iso
Asked questions on this answer:
I encounter one problem, though. To keep this short. I wrote a simple batch file called C:\test.bat as such:
[quote]
echo %1
echo %2
echo %3
echo %4
echo %5
pause
[/quote]

Then, in Q-Dir, I added new Program entry at Options->Programs as such:

[quote]
test.bat=C:\test.bat=%curdir% %curdir1% %curdir2% %curdir3% %curdir4%
[/quote]

and saved.

Now, the problem is, if I turn on 2x2 view layout and I change directories to i.e. C:\ in the 1st view, D:\ in 2nd, E:\ in 3rd and F:\ in 4th (my disk partitions) then after starting test.bat i.e. from within the 3rd view, where path is E:\, the output I get is:
[quote]
E:\
E:\
E:\
E:\
E:\
[/quote]

I wanted to add WinDiff or a similar application that compares 2 folders, but whatever variable (%curdir%, %curdir1% etc.) I use in the program entry as the parameter it is always replaced with the path to the currently active directory.
That shoudn't be I think. Maybe I am missing something. Please help.


See also:
Associating files on a portable installation with programs in the portable locations?
Is there a way to start Q-Dir with a parameter of path? E.g, I can do this with?
How can I synchronize directories in Q-Dir whit xcopy.exe?

Keywords: there, start, q-dir, with, parameter, path, this, Questions, Answers, Software




    




Quick-Link's : program freezes? Ready for eBay lost disk space quadruple tree
Home | Thanks | Contact | Link me | FAQ | English-AV | Impressum | Translate | PayPal | PAD-s
 © 2017 by Nenad Hrg softwareok.desoftwareok.comsoftwareok.eu
0.046
Fonts quick overview // Is your Lcd ready 4 eBay? // Access to more time // Microsoft-Store // desktop icon manager // Restore the positions of icons // Dearest icon locations //