How can I get the 8.3 file name short AND way?

We use some old DOS programs and need to use the old format back (filename.xxx). When the files are in the long trees, it is very difficult to find the names of files under Windows.

There was a response published in Google (http://answers.google.com/answers/threadview/id/522710.html) which works very well under XP, but when I use it in Windows 7, I get the long file name.

Does anyone know how to do this?  The program can be changed?  Here is the program of this flajason-ga posted, but it must be updated for Windows 7 (I only know how to program in Foxpro).  Thank you, Alan

Topic: Re: how to get the 8.3 file name short AND path?
From: flajason-ga on May 27, 2005 10:45 PDT
 

After my last comment, I read your details a little closer.
The last script I posted was to list out a whole directory in 8.3 format.
If you are looking for a friendly way of Clipboard to recover the 8.3
for individual files, that will be more to your liking.

Same thing as before. Copy the below into Notepad and save it with a .vbs extension.
Except that this time, you can simply drag and drop a folder or file icon
on the .vbs file and it displays the short path in an input box.
where you can copy the value and use anything you want to.

If you're industrious, you can also save the .vbs file in your
Folder "send to" (C:\Documents and Settings\ [yourname] \SendTo) to have
It is available in your context menu with a right click.

Set fso = CreateObject ("Scripting.FileSystemObject")

' Is a file or a folder?
If fso. FolderExists (WScript.Arguments (0)) then
"It's a folder
Set objFolder = fso. GetFolder (WScript.Arguments (0))
Refund = InputBox ("this is your short path:", "SHORT PATH", objFolder.ShortPath)
End If

If fso. FileExists (WScript.Arguments (0)) then
"It's a file
Set objFile = fso. GetFile (WScript.Arguments (0))
Refund = InputBox ("this is your short path:", "SHORT PATH", objFile.ShortPath)
End If

Hello

Read the following article.

How Windows generates 8.3 names to long file names
http://support.Microsoft.com/kb/142982

Tags: Windows

Similar Questions

  • I've lost all my acrobat adobe Pro XI files during a reinstallation of win7.  How can I get the news I need to download and install Adobe Acrobat XI Pro?

    I've lost all my acrobat adobe Pro XI files during a reinstallation of win7.  How can I get the news I need to download and install Adobe Acrobat XI Pro?

    [Read https://forums.adobe.com/docs/DOC-7273]
    [Ask in the correct forum allows... Left the connections for specific program forum forum... MOD]

    https://Accounts.adobe.com/ , then click on Plans & products above to find a list of your programs and your serial numbers

  • How can I get the HBA iScsi IQN name

    How can I get the HBA iScsi IQN name?

    How to use the following object:

    I tried this:

    var myVcHostInternetScsiHba = new VcHostInternetScsiHba();

    IQN = VcHostInternetScsiHba.iScsiName;

    But it does not work.

    regards Denis

    findiSCSIDevice action () returns the string iSCSI device, and not as an object.

    You can duplicate this action (say under a name findiSCSIName) and change its script code by replacing the following line:

    return busAdapter.device;
    

    with

    return busAdapter.iScsiName;
    

    and then use it in your workflow and actions of something like

    var hbaScsiName = System.getModule("com.vmware.library.vc.storage").findiSCSIName(host);
    
  • How can I get the iMovie video files in the photo library?

    How can I get the video files of "iMovie - bibliotek.imovielibrary" in the photo library?

    Is to select your library from the libraries pane and choose my brackets at the top of the screen. Then select the clips you want and share file on the desktop. Then import in photos.

  • How can we get the list of files in a folder?

    Hi all

    My plugin has a list of .ai files in the user interface of the folder C:\Program Files\Adobe\Adobe Illustrator CS4\Plug - ins\Illustrator Filters\MyPlugin.

    Also, if we put 'MyFile.ai' in the folder 'MyPlugin', then the user interface should display the MyFile (file name) in a drop-down list box.

    I want to get the list of files in the folder "MyPLugin".

    Download the plugins to HAVE

    AI::filepath pluginsFolder.

    sAIFolders-> FindFolder (kAIPluginsFolderType,

    fake , pluginsFolder);

    MyPlugin folder

    AI::UnicodeString MyPluginFolder (pluginsFolder.GetFullPath ());

    MyPluginFolder.append (ai::UnicodeString ("\\Illustrator Effects\\Myplugin\\"));

    Here I get the my full path of the folder plugin in "MyPluginFolder".

    Now, this file, I want to get the list of files that I placed?

    What are the APIs available in artificial intelligence to get the list of files in a folder?

    If you want to enumerate files in a directory, you have to use the OS APIs. I does not provide for this. There are different ways to find important files/directories related to AI, but nothing else.

    The APIs to do this in the operating system are usually pretty easy to use but. Annoying if you try to hit Mac and Windows, but a little care in the design of your interface and hide the worst.

  • How can I get the controller .java files

    I have craeted OA extension pages in which I created Entiy object, module, and display of items
    in JDeveloper for 12.1.1 in windows and it works fine.
    Now, I want to thank a payable page module (payable vision operation (USA))
    and the name of the page is SuppSummaryPG.xml.
    The problem is that how can I open or import a SuppSummaryPG.xml in my ID jdeveloper
    and all the related files that belongs to SuppSummaryPG.xml, VO raleated example, entity objects
    servlet controller and module file.

    I move all files of
    application to jdeveloper directory server, I did the same thing that is running
    and works fine but the problem is with the whole of the module ViewObject and aplication
    I'm not able to open these in Jdeveloper, because when I try to open these files
    It gives me the error that you do not have the .java files, and it opens the view and applicatino objects
    MOODLE files in read-only mode


    the page is a java moudle standrad page

    suppSummaryPG is a standard page and it is in
    moudle payable herachy is
    oracle/apps/pos/supplier/...suppSummaryPG

    What should I do

    Hello

    You neede decompile all related class files and stores it under my projects in your system.

    Thank you
    Gerard

  • How can I get the printer without printer name handle?

    I want to block printing by hanging. so I hang startdoc.

    Unfortunately, if I block the specific printer, I should get the printer handle

    I know how to get the handle to the name of the printer printer. but I don't know the name of the printer
    I knew the name of the only hdc and document printer.

    I tried for 3 days. but I can't find about it :(

    If anyone knows, please answer...

    [Moved from the community centre of Participation]

    Your question is more technical that is usually asked/answered here.

    You're more likely to get help in the TechNet forums

    https://social.technet.Microsoft.com/forums/IE/en-us/home?Forum=ieitprocurrentver

    or

    MSDN https://social.msdn.microsoft.com/Forums/ie/en-US/home?category=iedevelopment

    Don

  • How can I get the question mark to come upcorrectly and not as a THURSDAY

    When I change to us the question mark I get this E - How do I get this turned off -

    When I change to us the question mark I get this E - How do I get this turned off -

    Key LEFT ctrl + SHIFT RIGHT button > then shift + question mark key, will give... E

    Repeat the same thing above, it will be back to normal, and he will give...?

    Note: the procedure of 'LEFT touch ctrl + RIGHT SHIFT key' does not have the first time. Try again. He's going to do as I've mentioned above.

  • How can we get the MPEG-4 files to work in Windows Media Player v10?

    I see that MPEG4s are not necessarily supported in v10, but she mentions 'decoders compatible DirectShow MPEG-4 packs' by 'Ligos LSX-MPEG Player' and 'EnvivioTV.  When I consult Ligos, it does not seem that they support or provide decoders MPEG longer and I can't find something at Envivio.

    Other thoughts?  Get everyone up to v11 might be an option, but I'm also looking for other alternatives.

    Thank you!

    Only WMP 12 has built-in support for MPEG-4. For WMP 11, you should always install the codecs/plugins extra for MPEG-4 support.

  • I downloaded PSE13 for my PC Win but only got a dmg file, I initially installed on my Mac. How can I get the other required files to install on Windows?

    Impossible to install on the victory due to the absence of exe file?

    If you bought the boxed version, you should have the drive for Windows and Mac. Otherwise, an original download will be one platform for example Mac only.

    If you want to update to PSE14 you can try the application free for 30 days. Download here:

    Download Photoshop Elements | 10, 12, 14, 11, 13

  • How can I get the emails sent to my desktop and laptop?

    Some emails go to desktop (Outlook Express) and some go for laptop (Windows Mail). I understand that Windows Mail replaces Outlook Express.  Desktop is Windows XP Pro and Windows Vista laptop.  The messages all go to the same email address.  I need them all in the same place that I must not continue to operate in both directions between computers to get all my email.

    If both computers use the same e-mail address, on both machines:

    Tools | Accounts | Mail | Properties | Advanced - Check: leave a copy of messages on the server.

    On a single computer only, make sure to delete messages after X days to satisfy your allocated space that you get from your server.

  • How can we get the bootloader again closed?

    Hello

    I unlocked the bootloader on my Xperia thumb with "fastboot.exe-i 0x0fce oem unlock 0 x."course. "

    Since then refused SUS or PCCompanion update to a newer version of Android.

    It appears the error code "2003".

    How can we get the bootloader again closed?

    And 2003 error code what does it mean?

    Good bye

    Franz

    You must be knowing how Flash, Yes?

    Download the linked file here http://forum.xda-developers.com/showthread.php?t=1799005 and flash using flashtool

  • How can I get the back toolbar that says "file, editing, history, tools, etc.?

    How can I get the back toolbar that says "file, editing, history, tools, etc.?

    Don't see the menu bar (file, publishing, display, history...) (Help)? Hold down the key (key in OSX) and press the following letters in this exact order: V T M
    The bar of menus must now appear permanently, unless you turn it off again (view > toolbars). Turn on/off the menu bar is a new feature in version 3.6.
    See the other bars under view > toolbars. Click on one of them will place a check mark (display) or remove the check mark (not shown).
    To display the status bar, display, and then click status bar to place a control mark (display) or remove the check mark (not shown).

    • If items are missing then see if you can find them in the view > toolbars > customize window.
    • If you see the item in the window customize then bring her back in the window, customize the Navigation toolbar.
    • If you do not see this item then click Restore default set in the view > toolbars > customize window.
  • HDR-CX240... How can I get the camera to record all FILES VIDEO in MP4 format?

    HDR-CX240... How can I get the camera to record all FILES VIDEO in MP4 format. Is this possible? I can't find how to change what default file to save to. Any help would be appreciated.

    Hi dang201,

    There is no option to save the video in mp4 format only. You can check on the MProot folder on your memory card for mp4 files. The. MTS files are normally saved in another folder called flow.

    If my post answered your question, please mark it as "accept as a Solution.

  • My Vista crashed and I've switched back to XP. Now I have 1mil more old files compressed that I can't get rid of and it slows down the computer. How can I get rid of these files

    My Vista crashed and I've switched back to XP. Now I have 1mil more old files compressed that I can't get rid of and it slows down the computer. How can I get rid of these files.

    Hello

    1 are. what type of files?
    2. when they are stored?

    3. What is the size of these compressed files?

    Try to perform the clean boot on the computer and check if that helps.

    Reference:
    How to configure Windows XP to start in a "clean boot" State
    http://support.Microsoft.com/kb/310353

    See the bottom of the articles that might help you resolve this problem.
    How to make a computer faster: 6 ways to speed up your PC
    http://www.Microsoft.com/atwork/maintenance/speed.aspx
    Slow PC? Optimize your computer for peak performance
    http://www.Microsoft.com/athome/Setup/optimize.aspx

Maybe you are looking for

  • error message random popup re: iCloud

    Since last week, I received an error message popup on my desk random. He says: "This Mac cannot connect to iCloud due to a problem with '[email protected]'." Preferences iCloud open on this issue. I give myself two choices - click on 'Later' or

  • Win 10 offer free said AMD Radeon HD display will have problems?

    An offer to book 10 Windows when it's released was available on the taskbar. I agreed. During the audit of the other information available in this window, he said that AMD Radeon HD D 7540 would have display problems?  Not said NOT COMPATIBLE instead

  • Driver missing in Windows 10

    I have improved my moms to 10 Windows pc. The model is ATC-605-EB1C (Aspire) which I believe is sucks TC-605 on the Acer web site. Series No.: [redacted to comply with guidelines] Now, once Windows 10 is installed, there is only 1 device which is exc

  • Formatted my laptop and can't find drivers to connect to internet

    Product name: g7-1107seSeries: {information}Product: lz590ea #abv HelloI just formatted my laptop yesterday, and I am not able to connect to wireless internet. The wireless on the corner of my desktop icon does not appear. I tried to download the dri

  • Data file of package HOWTO

    I want to package a data file as part of my package that is installed on the phone.  Is it possible to do? Thank you