User Tag List

Results 1 to 6 of 6

Thread: Command line question

  1. #1
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Command line question

    I actually associate a special extension to my program. All work well but when my filename double clicked has more than 8 wharacters, I obtain a old path like DOS.

    Example :
    - filename : "File.ext"
    > When double clicked (wich open it in my program) I obtain "C:\File.ext"

    - filename : "FileWithLongName.ext"
    > When double clicked (wich open it in my program) I obtain : "C:\FILEWI~1.EXT"

    How can I convert this filename to the real filename ?
    How can I get the real filename ?

    Thanks

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleInstall Creator ProPatch Maker
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    DJFuego's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    1,416
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Command line question

    What version of windows and what File system are you using (eg FAT32/NTFS) the program on? did you build the application on the same machine?

    You should be able to use the File object and/or special actions.
    If you are using Special actions are you using fixed pathnames or evaluated pathnames?

  3. #3
    No Products Registered

    Join Date
    Aug 2006
    Location
    Westcountry, UK
    Posts
    862
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Command line question

    nearly all programs accept the old system anyway

  4. #4
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Command line question

    I have WindowsXP.

    The problem is that I want to get the real filename and not the restritive filename.

    I've tried to use "FileTitle$()" function of "File object" but I get "FILEWI~1" and not "FileWithLongName"...

    Is somebody know how can I get the real filename from old path like "C:\FILEWI~1.EXT" with a MMF2 extension or in C/C++...

  5. #5
    No Products Registered

    Join Date
    Aug 2006
    Location
    Westcountry, UK
    Posts
    862
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Command line question

    Well, ~1 means the first 1 in alphabetical order so find all the files named "FileWI*.ext" in C:\ and get the first one...

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUnicode Add-onInstall Creator

    Join Date
    Jul 2006
    Posts
    1,018
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Command line question

    I was testing it...

    If I have the two directories C:\Dokument and C:\Dokuments, the first one had to stand at the fist position. I am loading a file out of directory two and the command line path says C:\DOKUME~1\file.txt [cry]
    HOW we can this take apart!?

Similar Threads

  1. Question about /NOC command line
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 4th February 2010, 10:33 AM
  2. Command Line
    By dragonguy in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 22nd December 2008, 04:48 PM
  3. question about command line options for shortcuts
    By TrojanNemo in forum Install Creator and Patch Maker
    Replies: 2
    Last Post: 26th November 2008, 03:24 PM
  4. Command line app
    By DJFuego in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 14th October 2008, 12:16 PM
  5. Is it possible with Command Line?
    By KICadm in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 30th August 2008, 05:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •