Solved

How to use a desktop short cut Target path to include a .ini file

Posted on 2016-09-29
4
77 Views
Last Modified: 2016-10-04
Hello Experts,

I am creating a bat file to push out to customers. This file will create two icons on their desktop. One will take them to a Test environment and the other a Production environment. The Test and Production executable will use different .ini files when executed. What is the correct syntax for this?

I tried:     exe /f c:\InformationDesignTool.ini           without luck.
Error: "The informationDesignTool executable launcher was unable to locate its companion shared library"
OS: is Windows 7

I did locate information on SAP's site that this is due to a long file path name. I changed it to c:\  and still received the error.
0
Comment
Question by:Member_2_7964761
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 3

Accepted Solution

by:
telczj9 earned 250 total points
ID: 41821863
On the command prompt window do:

dir /x c:\InformationDesignTool.ini

The /x flag will surface the 8.3 naming format of your long file name.

Use that short name in the script.
0
 
LVL 24

Assisted Solution

by:NVIT
NVIT earned 250 total points
ID: 41821949
You may also try wrapping it im quotes. E.g

/exe /f "c:\InformationDesignTool.ini"
0
 
LVL 3

Expert Comment

by:telczj9
ID: 41823849
Is it working now?
0
 

Author Closing Comment

by:Member_2_7964761
ID: 41827991
Thanks for your help!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
This video demonstrates basic masking and how to edit the mask to reveal the desired image.
The viewer will learn how to set up a document for the web and print and the recommended PPI for printing.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question