In the menubar where you can create your own buttons, I have the following problem: I want to use a batch file with parameters (%O) but without "" (quotes) with long filenames:
example
get.bat read this.txt
with parameter %O it wil give read
if paramater is change to "%O" it wil give "read this"
I want: read this
Source of get.bat
@echo off
echo. %1
I hope that I have explain it well..
no quotes
Moderators: white, Hacker, petermad, Stefan2
- sqa_wizard
- Power Member
- Posts: 3867
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
Re: no quotes
I had this problem. If i remember correctly, i used ""%O"" to pass the quotes too. Does it help?cieke wrote:In the menubar where you can create your own buttons, I have the following problem: I want to use a batch file with parameters (%O) but without "" (quotes) with long filenames:
example
get.bat read this.txt
with parameter %O it wil give read
if paramater is change to "%O" it wil give "read this"
I want: read this
Source of get.bat
@echo off
echo. %1
I hope that I have explain it well..
Last edited by wanderer on 2003-11-27, 10:40 UTC, edited 2 times in total.
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
Re: no quotes
Nope, that wont work, But I've got the solution from squa wizard..wanderer wrote: I had this problem. If i remember correctly, i used ""%O"" to pass the quotes too. Does it help?
But thanks anyway for your reply...