Relative path of Windows shortcut file

Hello

I have the complete file of PDFs (hundreds of them) and I need them zip. I need also make a shortcut of one of these pdf files in this zip and rename it, so it is recognizable among others. But when I do a shortcut, zip of PDFs with the shortcut and delete the original files - inside the zip link stops working.

I have a question if I can have this shortcut in the relative path, so it is not dependent on the original data, and if it can work inside this zip (as well as inside the folder) any absolute path is.

Can someone help me? Is it still possible?

Thank you very much

Nobody has never reported a method to create shortcuts on Windows.  A lot of people seems to have attempted; If you are looking for relative shortcut in this forum you will see other threads on the subject.

Tags: Windows

Similar Questions

  • The folder list is not the WIndows shortcut files

    Hello

    Why the 'Folder list' vi does not have the Windows shortcut files? Short WIndows files have an extension of "*.lnk", I'm using Labview 2011 SP1 on a WIndows XP Professional computer, the shortcut files on a mapped network drive.  I can find the files of shortcut if an open one window cmd and use the dir command.

    A potential problem is that you might be looking at the wrong place. A shortcut to a file appears in the list of files, and a shortcut to a directory appears in the list of directories. However (at least LV2011) shortcuts to directories that don't exist - as a disconnected network drive - as highlighted in the list of files.

    Mike...

  • Relative path to an external file in #include

    I try to keep a part of reusable code in a .jsx I can use in different projects in a folder from my current .jsx. I have no problem when it's in the same folder as my current .jsx using:

    #include "Photoshop.jsx".

    But I need to move it to a folder which is actually:

    #include '.» /... /.. "/ _CODE/photoshop/Photoshop.jsx".

    It seems that he dislikes this syntax, any suggestions on how I could do this?

    Try

    #includepath '.» /... /.. "_Nom / / photoshop.

    #include "MyScript.jsx".

  • Can you create shortcuts file and whenever I chose to place them?

    I have the folder shortcuts on my desktop that points to the network locations.  Because these folder shortcuts on my desktop they have also highlighted in the top level of the Windows Explorer when I opened this program.  This makes it very easy to navigate to the network folder / subfolder, I have a folder shortcut Setup,.

    These shortcuts to files created in Windows XP.  I am now on a W7 machine and they continue to work properly.  The problem is that network locations, I need to point to have changed.
    W7 does not seem to me to change the traces of these shortcuts to folder or create new ones.  Is it true that W7 I cannot create a folder shortcut to be placed on the desktop?
    If this IS true, y at - it a well-known tweaking utility that will enable such a feature?
    Is there a windows file that contains path information this shortcut file that I could 'hack' in the hand?

    AHAAAAAA!  :)  So after a little research, it turns out that the 'thing' I leaned to create is now known as a symbolic link.

    The function "mklink" in W7 gets fact.
    Here is a link to a web page describing the symbolic links, even if you are probably already very familiar with them.
    VERY useful!  Does exactly what I want it to do.  If I add these links on my desk, they appear at the bottom of the tree of office files in Windows Explorer and can be expanded as a real folder.  They can bind to both network shares.
    I use the mklink /D option.
  • Is CFFILE read uses only the absolute path or the relative path too?

    I use cffile read access to my file to json. I would like to know if the cffile uses only absolute or relative path too? If I tried to use the relative path, it kept send me errors on non-existent file.

    Read what I posted on the documentation. CFFILE read must be an absolute path. If you use a path relative to its parent to the CF temp folder:

    If not an absolute path (starting with a drive letter and a colon or a slash to advance or back), it is relative to the ColdFusion temporary directory, which is returned by the GetTempDirectory function.

    There is no relative path from your web files. IF you just put a relative path, it will attempt in the CWS for the file temp folder.

  • How to create a shortcut with relative path

    Hi all

    I'm a Linux user, so I don't have enough experience to solve this problem.

    How can I create a shortcut with relative path?

    Usually it is easy to create a shortcut with the absolute path for example:
    Windows accepts shortcut path with absolute c:\bin\app.exe, but he does not accept the following relative path:
    .\bin\app.exe

    Hi mbnoimi,.

    Thank you for using the Microsoft Answers Forums!

    To make a shortcut path parent here is a simple solution. Create a shortcut to cmd.exe running the start command to open the current directory. Then set the MDC in the
    The shortcut properties.

    Follow these steps:

    Make a new shortcut to: cmd.exe /c start.

    Now, right-click on it and get the properties of the shortcut (shortcut tab).

    The shortened full path must have been set to this:
    %windir%\system32\CMD.exe /c start.

    Set the directory to "start in" (i.e. DLG) to be a relative path:
    (Example for a shortcut on the desktop

    )
    ...\SendTo

    Click on "change icon...". "and set" look for icons in this. "
    "file:" to:
    %SystemRoot%\system32\shell32.dll

    and press ENTER. Standard folder icon will probably be in the
    bottom right.

    Now you can copy this file and simply change the "start in:" directory
    to book new related shortcuts.

    NOTE: The steps above are just an example so try this at your own risk. And check if it works.

    Hope this information was useful.

    Let me know if it worked.

    All the best!

    Thank you and best regards,

    R uma - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to open a configuration file with a relative path?

    I want to open a configuration file when my application is initialized (first 'State', you can tell) and I use 'Open file.vi Config' and tried to pass the path of the config as 'data\myconfig.ini' and the 'File exists?' vi gave no error (simply, the exit is 'false') but the config Open leader gave an error.

    If I spend an absolute path "D:\xyz\xyz\myconfig.ini", it works fine. Is not is it possible to use the "relative path" I recall using it before searching for other tasks?

    I'd rather have this file in the folder "data" my application setup will create the destination directory during the installation of the application, because it won't be easy when I want to ask the user to open and modify. Or, I just put it in "C:\". "that exists on all windows computers, but it would be too open.

    Thanks in advance!

    hope this helps:

  • Urgent: how to create a shortcut with a relative path?

    I put a set of files and folders nested on a server on a network location.  (Use of office machines Vista; I don't know that the server is running.  The files are a text file and two Office 2007 files).  Users will copy this set-up files on their computer (there is a program of VBA macro in a Word document, they need).  They need tomorrow (Friday) and the shortcut path gives me fits!

    The hierarchy looks like:

    MainDir
    File.txt
    SubDir1
    Shortcut to the Word file
    SubDir2
    Word file
    Excel file

    I don't think even the paths associated with the shortcut until I looked a little deeper.  Because I put all the files and folders together on my computer, when I did a drag - move in the folder on the server, the target properties and start in the shortcut always pointed at my computer!  So now, I'm afraid that a user copy this on their machine will have a shortcut that points to ~ my ~ computer, instead of the file on their computer.

    I deleted the shortcut located on the server and creates a new one from the Word file in the directory on the server.  Better - I think - but it still points to the location of the server.  And it is even more likely that, when the user opens the shortcut, it will try to open the file on the server, vice the file on their computer.

    How can I create a shortcut to this Word file that will pick up the relative path from around where to reside?  I can just click > properties and change the target and start in paths?  Or do I need a VBScript or VBA?

    I have to get this done fast!  A kick - in the right direction is greatly appreciated.

    Ed

    Hi Ed,

    It is not possible to create a shortcut with a relative path.

    You can try the following allows to bypass and check if it helps:

    Create a shortcut to cmd.exe running the start command to open the current directory. Then set the MDC in the

    The shortcut properties.

    a. make a new shortcut to: cmd.exe /c start.

    b. now right-click on it and get the properties of the shortcut (shortcut tab).

    c. the shortened full path must have been set to this:

    %windir%\system32\CMD.exe /c start.

    d. set the directory of "start in" (i.e. DLG) to be a relative path:

    (Example for a shortcut on the desktop)

    ...\SendTo

    e. click on "change icon...". "and set" look for icons in this file: "to: %SystemRoot%\system32\SHELL32.dll and press ENTER.

    Standard folder icon will probably be in the lower right.

    f. now you can copy this file and simply change the "start in:" to make new related shortcuts directory.

    NOTE: The above steps are just an example, so try this at your own risk. And check if it works.

    You can also read the following article and check:

    Folder redirection fails when you specify the mapped network drive or the Environment Variable

    http://support.Microsoft.com/kb/321805

    You can check out the following link and also post your request in the Technet forum for further assistance:

    http://social.technet.Microsoft.com/forums/en-us/winserverPN/threads

    Hope this information is useful.

  • How to move the FILE from one place to another and keep "Indexing" have to move to the unknown location so you can't discover its full file path? Windows instructions provide information wrong re: how to do this!

    Make a bunch of audio files, placed in a folder on my desktop. Files initially sent to RealPlayer to burn, but when finished burning CD and went to read a CD, folder got seized by Media Player, 'Indexed' and disappeared from the office. I'm a relatively new computer user, and I need to learn more about file paths, how to view the path FULL of a file on my computer and how to type (create) full path when I need to. The "Indexing" feature seems to erase this lesson for me, and after having spent four hours trying to find Vista instructions on "How to move the file from one place to another", I gave up! Windows 'Help and Support' on my computer gives wrong directions. It states that if I right click on a folder > properties, a dialog box opens with a tab by which I can move my account. There is no tab location here. I found locations tab when right click on the "Mobile" folder, but still no option to "move file". No idea what is the folder "Roaming" or why it's on my computer. I want my audio files in the My Music folder, but this place is "access denied." Don't know how to get the audio file it in any case, but if anyone has any advice, I would be very happy! Thank you. PS - I had no problem moving folders in XP. I don't like the idea that a computer is to decide where to put my files. I want to control where I put my files. I don't like the way search works under Vista. I liked the XP search companion better because, for a computer fool like me, it was really easy to organize and find files and folders and had an option specific to find audio and video file TYPES.

    Here is an article on how to move your personal folders in Vista: http://www.howtogeek.com/howto/windows-vista/moving-your-personal-data-folders-in-windows-vista-the-easy-way/.  If you're talking about the special folders (such as photos, Documents, office...), then here is an article on how to move: http://www.winhelponline.com/articles/95/1/How-to-move-the-special-folders-in-Windows-Vista.html.

    If you have trouble with the search after you move the files, then rebuild the index: http://www.tech-recipes.com/rx/2103/vista_rebuilding_the_search_index/.  Here is an article on how to use Indexing Options in Vista that may be useful for you: http://www.vistax64.com/tutorials/69581-indexing-options.html.

    If the above does not help, your problem seems to relate to the image of the files/folders and their interactions with Media Center (which operate on different other folders).  Please repost your question in images and video Forum at: http://social.answers.microsoft.com/Forums/en-US/vistapictures/threads where the people who specialize in issues of the image will be more than happy to help you with your quesitons.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Creating a shortcut with relative paths

    I'm trying to set up a folder so that I can copy a group of files from USB drives, and I want to place a shortcut to open the Powerpoint Viewer into a subfolder of this folder to copy.   When I put in place a regular shortcut, it creates the full path: 'C:\Users\xx\Documents\Thumb Drive Files\With CAD Drawings\Product présentation Files\pptview.exe training', and when they are copied on a USB key, it will not work because it seeks the path 'C:', rather than the relative path in the folder, \With CAD Drawings\Product Training Presentation Files\pptview .exe.  I don't remember how to set this up with relative paths.

    You can't go with shortcut, you use a batch file on the root of the drive that has an order of relative path for the first command in it.

  • UDL connection with relative path database file

    Hi all

    I use the shipper of the property to retrieve the test of the database settings. I Specifies the database to read by using a .udl file.

    When opening a connection to database (using the step of database type) open I'm able to specify the location of the .udl file as follows:

    "FILE NAME=C:\\Development\\IW_EST_2\\TesterSoftware\\TS\\Database\\DatabaseConnection.udl;"

    It works fine for now. However, I'm developing on the computer that will be deployed on the sequence. It is for this reason that I would use a relative path.

    Is it possible to do? If so, how?

    Thank you very much

    Cam.

    You can use a UNC naming convention to specify the location of the UDL.

    A UNC name will replace a drive letter with a machine name and the share name.

    Example of a connection string, I use every day:

    "FILE NAME=\\\netapp1\\shared\\STE\\SPOTS.udl".

    (note that the quadruple backslashes before the name of machine)

  • How to read the .txt adfLib pot file to the model layer by using the relative path

    Hello

    In my application, I use the ExtendedDynamicFldTbl (extends weblogic.wtc.jatmi.DynamicFldTbl), which the manufacturer requires the field file path table as a parameter.

    In the API, it is said that this name of path can be an absolute path, a relative path to the directory where Java has started, or a relative path that can be found as a resource on the classpath.

    I have created this ExtendedDynamicFldTbl to the model layer project, placed the fild_tbl.txt in a separate package and pass the path relative to the DynamicFldTbl constructor.

    Given my code below to get the instance of ExtendedDynamicFldTbl
    package model.tuxedo;
    
    public class ExtendedFldTbl  extends DynamicFldTbl
    {
    
        private static ExtendedFldTbl extendedFldTblinstance = null;
        
        public ExtendedFldTbl(String tablePath, boolean flag)
        {
            super(tablePath, flag);
        }
        
        public static ExtendedFldTbl getInstance()
        {
            if (extendedFldTblInstance == null)
            {
                URL url = extendedFldTblInstance.class.getResource("resource/fldtbl.txt");
                if (url == null)
                {
                    throw new RuntimeException("Tuxedo Service : fldtbl.txt is not found in the path 'model.tuxedo.resource' ");
                }
                extendedFldTblInstance = new ExtendedFldTbl (url.getPath(), true);
                String[] list = extendedFldTblInstance .getFldNames();
                System.err.println("fldtbl loaded. Total FML entries loaded = " + list.length);
            }
            return extendedFldTblInstance ;
        }
    }
    I just added the output of the build of the layer model to view the project of the layer and tested. It works fine and I am able to get the ExtendedFldTbl instance with all loaded fields. But rather than add dependencies, if I create an adfLibJar for the layer model project and you add to view the project of the layer, it does not work. It is not ablt to read the file of adf lib jar file.

    Issues related to the:

    1. How can I solve this?
    2. Although I have kept the field text file table in the source of the project itself, when I read the url, it is
    "C:/Documents and Settings/raguramanv/Application Data/JDeveloper/system11.1.1.4.37.59.23/DefaultDomain/servers/DefaultServer/tmp/_WL_user/SampleWtc/3gkmt9/war/WEB-INF/lib/SampleWtc_Model_adflibSampleWtc1.jar!/model/tuxedo/resource/fldtbl.txt"
    Instead of the physical directory, how can I use application in model layer context?


    Thanks in advance

    Rambeau

    Hello

    Try /adf/ or /afr/ in the URL. Then includes the ADF resource loader which is used to get the contents of a lib of the ADF. Take a look at the structure of ADF library where the file is located in. It should be in a directory with /adf in the folder structure

    Frank

  • Using relative path to file/ftp adapter

    Hi all

    How to have a relative path for the file / ftp adapter operation in/out?

    Example: Consider $ORA_HOME = / home/oracle-> this environment variable can be different on different machines
    I want to drop a file in $ORA_HOME/Folder1/Folder2 (or query to a file).

    < partnerLinkBinding name = "FTP" >
    < property name = "wsdlLocation" > FTP.wsdl < / property >
    < property name = 'out_dir' type = "LogicalDirectory" >what I write here? < / property >
    < property name = "retryInterval" > 60 < / property >
    < / partnerLinkBinding >


    If I can't configure this in the section "links" partner or agent link activation, otherwise, how to achieve this?
    I use version 10.1.3. *.


    Thanks in advance.
    Roshan.

    You can achieve by using the deployment scripts if the directory evolves based on the environment
    If you want to change running you can use the properties of jca to set using the variables during execution.

    Kind regards
    Ajay

  • Link to files via the relative path?

    It seems that Captivate is only able to connect to external files via absolute links. In other words, when I create a click box that opens a file and select a file that is located on my development machine, the project will always look this file on my hard drive, even once it is posted on the Web. It's extremely frustrating, and I have not found a work around.

    Please help me identify a way to bind using a relative path. In other words, the project will solve it is the current residence and search for content in the directory, it lies in or specified directories under this location. It is the only way that you can create a project that can run successfully during the validation. Captivate already done this, when you create a click box that opens another project, so there MUST be a way to do when opening project files!

    Help, please!

    Thank you
    Dan Roberts

    You, Mr President, is a scholar and a gentleman!

    According to the agreements that you have described, I was able to create workable links. This should be widely published, I'm sure that many other authors is on the same problem.

    Note to Adobe: the ability to create relative links should be inside the product option, as in most of the other products I've used.

  • How can I specify relative path to file Subvi to screw?

    I use LabVIEW 2009 Service Pack 1.

    SubVIs are referenced by absolute paths, so when I move to a new folder I may need to adjust their paths again.

    How can I make a Subvi make reference to a relative path that I do not have set his path after you move the screw in a new folder or a new player?

    I think that the SubVIs are referenced internally by relative paths. Once you move the whole project in a new place, he should find everything in the new relative paths.

    Where have you encountered problems?

Maybe you are looking for

  • Have an add-on, that I can't uninstall

    Somehow this add-on came my Firefox which warns me of "door" everytime I'm shopping or even just browsing. I can't hover over an image in a store without that it bothers me, and there is always a box that offers me 'products' close to my 'search' I c

  • IdechnDr.sys

    Blue Screen of DEATH again but it's to: IdechnDr.sys, I don't know where to go to do this, so I decided to first try Microsoft. Then I guess that would be Dell.  What can I do else?

  • I'm not able to remove my old emails. Send them to the trash but when I try to empty the trash they simply go back to the Inbox.

    can't delete emails I'm not able to remove my old emails.  I send them to the trash, but when I try to empty the trash they will just return to the Inbox, or even when I open just the trash folder, that they will return in the Inbox right now.  I hav

  • Dell OptiPlex 7010 (mid-2012) /comment connect 3 monitors.

    Hi, I try to connect three screens: two via the display, either via VGA, but does not! (Only 2 monitor VGA or DISP + DISP, DISP) Configuration:Dell OptiPlex 7010 (mid-2012)VGA: Intel (r) Graphics HD 2500 (Video_Driver_JVC00_WN32_10.18.10.4176_A17)BIO

  • 0.9.4 Simulator does not

    Hey everybody, I installed a new virtual machine to the 0.9.4 Simulator and we found that it does not load (just sitting on the blackberry Playbook loading animation) Previous simulators worked properly. I tried the CPU both 1 and 2 RAM is set to 1 G