Hello!
Just wondering...
I have a batch file that does some stuff in 64-bit (opens up a 64-bit program without GUI, just a command-line one)
via drag and dropping a source file to it.
If I drag and drop a file on that batch file using XYplorer, I get 32-bit cmd, so not the outcome I want.
If I drag and drop a file on that batch file using standard explorer, I get 64-bit cmd (and the desired outcome).
Is there a way to trick the above behavior, so that when I do that in XYplorer, I also get the 64-bit environment?
Thanks!
Drag and drop to batch file 64bit
-
highend
- Posts: 15004
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Drag and drop to batch file 64bit
Probably not but you could do plenty of things to emulate that behavior (catalog entry, udc, etc.)
without dragging but using a script that executes the 64-bit command prompt with the
current selected file
without dragging but using a script that executes the 64-bit command prompt with the
current selected file
Code: Select all
$comspec = ("%osbitness%" == 64) ? "%windir%\System32\cmd.exe" : "%windir%\SysWOW64\cmd.exe";
run """$comspec"" /k ""<curitem>""";
One of my scripts helped you out? Please donate via Paypal
-
thecon
- Posts: 75
- Joined: 09 Nov 2015 19:08
Re: Drag and drop to batch file 64bit
Thanks! Will try ithighend wrote:Probably not but you could do plenty of things to emulate that behavior (catalog entry, udc, etc.)
without dragging but using a script that executes the 64-bit command prompt with the
current selected file
Code: Select all
$comspec = ("%osbitness%" == 64) ? "%windir%\System32\cmd.exe" : "%windir%\SysWOW64\cmd.exe"; run """$comspec"" /k ""<curitem>""";
XYplorer Beta Club