Software-OK
≡... News | ... Home | ... FAQ | Impressum | Contact | Listed at | Thank you |

  
HOME ► Faq ► FAQ - The Quad Explorer ► ««« FAQ 46 / 144 »»»

Program Starter portable files and installed, programs and location?


It is quite easy to open files in a portable installation or installed with Windows 11, 10, ... programs in Q-Dir!



For example to allow to use 3rd party search, rename, directory backup and comparison, rename, ...  app! The Shortcut Ctrl + S is Program Starter and Ctrl + Q is for Quick Links!

Content:

1.) ... Info about the program Starter in Q-Dir
2.) ... Further examples of the program Starter << WIn 10 Work Path Problem 



See also:► start Q-Dir with a parameter ► synchronize directories in Q-Dir whit xcopy.exe!

Oh yes, if you hold down Ctrl, the programs will start in admin mode!

1.) Info about the program Starter in Q-Dir

associating Program StartsUse Quick links or Program-Run for this (screenshot 1+2).
Use the char "=" for splitting. For example Name=Path=Arguments

Starting with version 6.46, you can also define the working directory! Who needs it will know why!
Name=Path=Arguments=Work directory


Some example:
Relativ Path Example
Name1=../dir/program.xxx.exe=%curdir%
Name1=../dir/program.xxx.exe="%curdir%"    <For Paths with Blank Space ""<
Name1=../dir/dir/program.xxx.exe=%all_files%
Drive of Q-Dir:
Name2=%drive%/dir/program.xxx.exe=%curdir%
......

Placeholder for Parameters:

%windir% for Windows Folder.
%sysdir% for System(32) Folder.
%sel_files% for Selected files.
%sel_files1% .... %sel_files4% for Selected files in view 1,2,3 or 4.
%all_files1% .... %all_files4% for all files in view 1,2,3 or 4.
%all_files% for all files.
%curdir% for Folder in active view.
%curdir1% .... %curdir4% for Folder in view 1,2,3 or 4.


Placeholder for locations and Work Directory:

%windir% for Windows Folder
%sysdir% for System(32) Folder
%desktop% for my Desktop
%appdat% for my Appdat
%personal% for my personal files

%drive% for curient Q-Dir.exe Drive
        (for example: "L:\" when Q-Dir locations L:\Programs\Q-Dir\Q-Dir.exe)

from 6.46
when run or open for example C:\XXX\fff.bat is:
%fdir% = C:\XXX

(Image-1) Q-Dir Paths and Folders!
implement a way of associating files on a portable installation with programs in the portable locations
-
▲ Back to the top ▲



2.) Further examples of the program Starter

Pretty interesting to make program starters like that (all portable freeware / open source tools):

the orange part and yellow is for the Windows 10 Work Directory Problem! Resolved via CMD or VBS!

Cmd=%sysdir%/cmd.exe

cmd(Admin)=A:\CMD\cmdAdmin.cmd=%curdir%

Content of cmdAdmin.cmd 

runAsAdmin cmd.exe "/K cd /d %1"


CompareText=A:\Tools\ExamDiff.exe=%sel_files%

CSV edit=A:\Tools\CSVed.exe=%sel_files%

Everything=A:\Tools\RunAsAdmin.vbs=A:\Tools\Everything.exe

Content of RunAsAdmin.vbs

' params: (1) command to execute (2) arguments (3) working directory
Set UAC = CreateObject("Shell.Application")
set ARGS=WScript.Arguments
EXECCMD=ARGS(0)
EXECARGS=""
EXECDIR=""
if ARGS.Count >1 then
EXECARGS=ARGS(1)
if ARGS.Count >2 then
EXECDIR=ARGS(2)
end if 
end if 
'Wscript.Echo "ARGS="&EXECARGS
'Wscript.Echo "DIR="&EXECDIR
'rem das mit dem dir funktioniert nicht wenn elevated wird (immer system32)
UAC.ShellExecute EXECCMD, EXECARGS, EXECDIR, "runas", 1



ExamDiff=A:\Tools\ExamDiff.exe=%sel_files%

FolderTimeUpdate=A:\Tools\foldertimeupdate.exe=/BaseFolder %sel_files% /scomma r:\FolderTimeUpdate.log

HexEdit=A:\Portable\hexedit XVI\XVI32.exe=%sel_files%

IdentifyFileType=A:\Tools\trid.exe=%sel_files% -w

JujuEdit=A:\Portable\JujuEdit\JujuEdit.exe=%sel_files%

MeinPlatz=A:\Tools\MeinPlatz.exe=%curdir%

ResHacker=A:\Tools\ExamDiff.exe=%sel_files%

TeracopyTo=A:\Tools\teracopy.exe=copy *A:\Tools\empty %curdir% 





FAQ 46: Updated on: 29 November 2021 20:05 Windows


► ► ► ► ... more information about the software Q-DIR     

Q-DIR

How can i change the colour of the header bar of the active window?


Change the colour of the header bar of the active explorer view window in Q-dir Activate the option via the main menu in Q-Dir Extras ► Address-Bar ►
Q-DIR

How to change the background colour of the active explorer pane!


s it easy to change the background color of the active explorer pane in the File Manager Q-Dir Just on the main menu
Q-DIR

How can edit or copy very long paths in Vista address bar?


In each Explorer View Address Bar of Quad-Dir Manager you can copy long and short paths. For short paths: Click in the address bar in the free area right
Q-DIR

How can i force move or copy of the data while dragging?


You can easy force to move or to copy the data while dragging in each Explorer View of Q-Dir, Is like drag and drop in MS Explorer
Q-DIR

Occasional problems with "*.qdr" files. The icon is now red not blue!


Oh yes the old Occasional problems with *.qdr files. The icon is now red not blue   Content / Solution / Tips: 1. The ICON change in Q-Dir  2.
Q-DIR

How do i use the Quad-Directory internal file association rules eg 7-Zip?


Examples how to use the Quad-Directory internal file association rules, to open the files on Windows 11, 10, 8.1, PS: To be Run as Administrator pleas
Q-DIR

Quad-Explore Q-Dir and Windows x64. How does it work?


The 32-bit version of Quad-Dir have small problems under x64 but Q-Dir x64 works without problems on Windows, 11, 10, Windows 7, XP or Windows Vista x64.

»»

  My question is not there in the FAQ
Asked questions on this answer:
Hi, Love Q-Dir, still hoping to see you implement a way of associating files on a portable installation with programs in the portable locations. This way if running Q-Dir from a portable install, files are opened using programs from that same location vs on the host machine. Below please find a link to a small utility that currently provides this functionality. http://www.portablefreeware.com/index.php?id=1317 Thanks for your hard work and keep it up. Bob
Love Q-Dir. Could you add: Open a command prompt window here prompt? Ths way I could open a DOS window after navigating thru Q-Dir.
Main class (com.actalead.Dds2RestBridgeService) is in Dds2RestBridge-8.1.0.0-SNAPSHOT.jar, so my launcher.bat is: java -cp lib-c2-Dds2RestBridge/* com.actalead.Dds2RestBridgeService -appDomain 2 -admDomain 0 -hqName SHQ24 -autoActivate true -configSource dds On Windows 7 (used at office), double click on launcher.bat start my program but on Windows 10 or Windows Server this isn't working, java said: Error: cannot find main class com.actalead.Dds2RestBridgeService To launch my program, I have to use Window Explorer.
Please add a simple search current folder and sub folders function. The FIND function just opens the file-explorer app which is crap. or maybe allow to use 3rd party search app integration. thank you!
Keywords: portable, files, opened, using, programs, from, same, location, windows, 11, 10, Questions, Answers, Software




    

  + Freeware
  + Order on the PC
  + File management
  + Automation
  + Office Tools
  + PC testing tools
  + Decoration and fun
  + Desktop-Clocks

  + SoftwareOK Pages
  + Micro Staff
  + Freeware-1
  + Freeware-2
  + Freeware-3
  + FAQ
  + Downloads

  + Top
  + Desktop-OK
  + The Quad Explorer
  + Don't Sleep
  + Win-Scan-2-PDF
  + Quick-Text-Past
  + Print Folder Tree
  + Find Same Images
  + Experience-Index-OK
  + Font-View-OK


  + Freeware
  + TraceRouteOK
  + GetWindowText
  + AutoHideMouseCursor
  + Desktop.Calendar.Tray.OK
  + OK.Its.Raining.Men
  + Run-Command
  + MagicMouseTrails
  + CpuFrequenz
  + MultiClipBoardSlots
  + PAD-s


Home | Thanks | Contact | Link me | FAQ | Windows 2021 | Windows 10 | English-AV | Impressum | Translate | PayPal | PAD-s

 © 2023 by Nenad Hrg softwareok.de • softwareok.com • softwareok.com • softwareok.eu
0.061


► How to show Control Panel, My Computer, Network on Windows 8, 8.1 Desktop and Win 10? ◄

► What is a boot disk? ◄

► Trusted source? ◄

This website uses cookies to ensure you get the best experience on our website more Infos & Privacy Policy
....