Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 9 of 9
  1. #1
    Join Date
    Oct 2007
    Posts
    233

    I need SUMMON to run my files from INSIDE "the folder have illegal character name"

    Hi Dear users&admin
    beforehand say you : I am not know English very well
    I need SUMMON to run my files from INSIDE "the folder have illegal character name"
    for example name of folder be: <test> or *test2* or com1 ...
    I apply "UltraISO" for reaname to illegal caracter name
    I need match UltraISO+AutoPlay Media Studio 6.0
    help me?
    thank you beforehand

  2. #2
    Join Date
    May 2006
    Posts
    5,380
    well, if AMS dosent recognize the illeagle char then refer to the ams ascii table and use one of the chars from it in ultraiso, other than that i dont really know what to suggest


    why use illeagle characters in a folder name ?

    maybe if you tell us why you need to illeagle characters, then maybe someone can suggest a alternative method that will work within ams

    AMS ACSII TABLE
    http://www.indigorose.com/webhelp/am...Misc/ASCII.htm
    Open your eyes to Narcissism, Don't let her destroy your life!!

  3. #3
    Join Date
    Jul 2007
    Posts
    158
    سلام آقای اصفهان
    اگه درست حدث زده باشم شما می خوای فایلی رو از فولدری با نام فارسی بخونی مگه نه؟
    اگه اینطوره بگو مشکل کجاست تا ببینم می دونم راه حلشو یا نه

  4. #4
    Join Date
    Oct 2007
    Posts
    233
    Hi
    1-I need illeagle characters in a folder name for:
    "CREATION Inaccessibility User to Resource-File on CD"
    this is a Method(Idea) for Protection Information from illeagle Copy.

    2-The folder created via illeagle characters on name Have it :
    A) It is not able UNLATCH(open)& There Content Are unvisual.
    B) It is not able copy to Hard Disk Drive.
    3-For EXAMPLE,Please Download This file and Open on Virtual CD Drive &
    try to copy to Hard Disk Drive it.
    Link: http://www.mediafire.com/?fdmsmmlnltw
    Type: ISO file (CD Image)
    Size: 57Kb
    ---------------
    for arb
    سلام هموطن
    خوشحال شدم همزبونی رو دیدم
    من میخام فایلهام رو از درون فولدری که نام غیر مجاز داره فراخوانی کنم
    مثلا نام فولدر باشه <Test>
    نمونه هم گذاشتم
    قربونت

  5. #5
    Join Date
    Jul 2007
    Posts
    158
    Quote Originally Posted by Esfahan View Post
    this is a Method(Idea) for Protection Information from illeagle Copy.
    For more protection especially in Iran with no any Copyright laws, you should use the "CHKCDXNT" (software lock) that can restore in AMS like this

    Code:
    -------------------------------------------OS Check
    tVersionInfo = System.GetOSVersionInfo();
    OS_Name = System.GetOSName();
    sCurrentWindowsVersion = tVersionInfo.MajorVersion .. "." .. tVersionInfo.MinorVersion.. "." .. tVersionInfo.BuildNumber;
    sRequiredWindowsVersion = "4.10.2222A";
    vRequiredWindowsVersion = "6.0.6000";
    nCompareResult = String.CompareFileVersions (sRequiredWindowsVersion, sCurrentWindowsVersion);
    vCompareResult = String.CompareFileVersions (vRequiredWindowsVersion, sCurrentWindowsVersion);
    ------------------------------------------- If OS is NT based
    if (tVersionInfo.PlatformId == "2") then
    if (vCompareResult == 0 or vCompareResult == -1) then
        Dialog.SplashImage("AutoPlay\\Images\\known-OS.bmp", 7, true);
        Application.Exit();
    end
    sysexist = File.DoesExist(_WindowsFolder.."\\system32\\drivers\\ASPI32.SYS");
    if sysexist then
    File.Run("Buffer-Run.exe", "", "", SW_SHOWNORMAL, false);--Main program
    error = Application.GetLastError();
        if (error ~= 0) then
            Dialog.Message("Error", _tblErrorMessages[error], MB_OK, MB_ICONEXCLAMATION, MB_DEFBUTTON1);
        end
    Application.Exit(0);
    else
    File.Copy("AutoPlay\\Scripts\\ASPIXP.SYS", _WindowsFolder.."\\system32\\drivers\\ASPI32.SYS", true, true, false, true, nil);
    File.Copy("AutoPlay\\Scripts\\WNASPIXP.DLL", _WindowsFolder.."\\system32\\WNASPI32.DLL", true, true, false, true, nil);
    File.Run("AutoPlay\\Scripts\\REG_XP.EXE", "", "", SW_SHOWNORMAL, false);
    Page.Jump("Page2");--Notice the user and restart the system
    end
    ------------------------------------------- IF OS is Non NT based
    elseif (tVersionInfo.PlatformId == "1") then
    if (nCompareResult == 1) then
        Dialog.SplashImage("AutoPlay\\Images\\win98-or-higher.bmp", 7, true);
        Application.Exit();
    end
    File.Copy("AutoPlay\\Scripts\\Chkcdx16.dll", _WindowsFolder.."\\system32\\Chkcdx16.dll", true, true, false, true, nil);
    File.Copy("AutoPlay\\Scripts\\CHKCDX32.dll", _WindowsFolder.."\\system32\\CHKCDX32.dll", true, true, false, true, nil);
    File.Run("Buffer-Run.exe", "", "", SW_SHOWNORMAL, false);--Main Program
    Application.Exit(0);
    else
    Dialog.SplashImage("AutoPlay\\Images\\known-OS.bmp", 7, true);
    Application.Exit();
    end
    And check the original CD like this:

    Code:
    result = "None";
    correct = false;
    min = 3;
    max = 26;
    	-- copy loop
    	for count = min, max do
    		result = DLL.CallFunction("AutoPlay\\Scripts\\CHKCDXNT.dll", "_CHECK_CDX_LOCK32", count..",-1,309740826", DLL_RETURN_TYPE_LONG, DLL_CALL_CDECL);
    		result1 = String.ToNumber(result);    
    		if result1 > 139460608 and result1 < 139560608 then
    	    	correct = true;
    	    end
    	end
    	-- total check
    	if (correct == false) or (File.DoesExist("Normal-Run.exe") and File.GetSize("Normal-Run.exe") > 900000) then
    	--or (File.DoesExist("autorun.exe") and File.GetSize("autorun.exe") > 900000) 
    	    Dialog.SplashImage("AutoPlay\\Images\\ins-original.bmp", 7, true);
    	    Application.Exit();
    	end
    But you need to buy installer software that writes the first track of CD invisible. (where dll needs to check)

    I already have newer version of CHKCDXNT.dll and it's about 1363K but if I find a link of installer software then I'll share it here.
    Last edited by arb; 10-17-2007 at 12:51 AM.

  6. #6
    Join Date
    Mar 2005
    Posts
    130
    i cant seem to find this CHKCDXNT.dll
    can you please give a link to the resources needed for this script to work ?.

  7. #7
    Join Date
    Jul 2007
    Posts
    158
    I haven't a link for installer program yet and it's not free to use, but if you need dll file, just give me your email address and i will send it.

  8. #8
    Join Date
    Oct 2007
    Posts
    233
    Thx arb
    I Send ID for you by PM
    Iam Waiting for your attempt .

  9. #9
    Join Date
    Apr 2007
    Posts
    1

    Thumbs up

    ............
    Last edited by andi; 07-27-2008 at 05:18 AM.

Similar Threads

  1. Add multiple files - folder names not always used
    By David Wellman in forum MSI Factory 2.0 Discussion
    Replies: 8
    Last Post: 07-25-2007, 04:34 AM
  2. multiple locations.
    By wasim21k in forum AutoPlay Media Studio 6.0
    Replies: 15
    Last Post: 04-04-2007, 09:43 AM
  3. cookies
    By goukilord10 in forum AutoPlay Media Studio 5.0
    Replies: 6
    Last Post: 05-20-2005, 04:08 PM
  4. INFO: Why Files are Renamed in the DATA Folder
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-24-2002, 03:36 PM
  5. INFO:The Files that are Built into the DATA Folder
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-03-2002, 03:15 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