Microsoft
Software
Hardware
Network
Question : Using FTYPE COMMAND in a batch file how to include "%1" by escaping the % sign.
Using a batch file, I want to change the properties in folder options so that OPEN for a ppt file uses the following:
C:\Program Files\Microsoft Office\OFFICE11\POWERPNT.E
XE "%1"
The problem is that the batch file eats the %1. How do I escape the %1 so the full string gets gets entered.
When I process the batch file with the following:
FTYPE pptfile=C:\Program Files\Microsoft Office\OFFICE11\POWERPNT.E
XE "%1"
The following gets associate with OPEN in folder options.
C:\Program Files\Microsoft Office\OFFICE\POWERPNT.EXT
""
How do I get it to escape the %1 so that %1 gets entered. Note, I am talking about the behaviour of
a batch file. When I enter the above at a command prompt, there is no problem. It is only when it is
included in a bactch file.
Answer : Using FTYPE COMMAND in a batch file how to include "%1" by escaping the % sign.
FTYPE pptfile=C:\Program Files\Microsoft Office\OFFICE11\POWERPNT.E
XE "%%1"
Random Solutions
Filter form via dropdown menu
sql server 2005 datetime min
SQL Syntax
Need SQL Syntax help to make my qry more efficient.
STOP: 0x0000007E (0xC0000420, xxxxxx) acpi.sys - address 83AB9717
Tried to reboot xp machine remotely but it got stuck, any way to force a reboot via command line?
How can I set a GUID column to ROWGUID using T-SQL?
Link tables manager
debuggind bsod
Why does Outlook 2003 keep crashing on our Windows 2008 64-Bit Terminal Server ?