PDA

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


Esfahan
10-15-2007, 01:24 PM
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

RizlaUK
10-15-2007, 01:51 PM
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/ams60/Program_Reference/Misc/ASCII.htm

arb
10-16-2007, 06:21 AM
سلام آقای اصفهان
اگه درست حدث زده باشم شما می خوای فایلی رو از فولدری با نام فارسی بخونی مگه نه؟
اگه اینطوره بگو مشکل کجاست تا ببینم می دونم راه حلشو یا نه

Esfahan
10-16-2007, 01:33 PM
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>
نمونه هم گذاشتم
قربونت

arb
10-17-2007, 01:42 AM
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

-------------------------------------------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:

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.

goukilord10
10-18-2007, 04:30 PM
i cant seem to find this CHKCDXNT.dll
can you please give a link to the resources needed for this script to work ?.

arb
10-20-2007, 12:12 AM
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.

Esfahan
10-20-2007, 11:20 AM
Thx arb
I Send ID for you by PM
Iam Waiting for your attempt .

andi
07-27-2008, 06:15 AM
............