MyEarth Posted May 15, 2014 Share Posted May 15, 2014 (edited) Hello I have a script that create a text file with some information about some path, read that information and delete the text file, this a every script startup ( before ask no i can't put that information inside a $var, that info change everytime based on the OS and the type of the user, is a long story and is not that the problem ) But the question is, instead of create-delete-create-delete is possible to put this string in memory or RAM or whatever ( or save the TXT in memory ) instead of write the file directly on the hard disk? I have think to use the Clipboard but the content can be deleted by the user, accidentally or deliberately, there is a safe place in memory can i use for this purpose? Is only text, nothing else. Thanlks for any suggestion Edited May 15, 2014 by MyEarth Link to comment Share on other sites More sharing options...
TheAutomator Posted May 15, 2014 Share Posted May 15, 2014 (edited) MyEarth, by making a variable you already put something in the memory actually maybe a virtual drive can be made temporary? also you said "I have a script that create a text file with some information about some path, read that information and delete the text file" the script creates the file right? so the script itself does know what should be written in that text file so why is storing it in a variable a problem? autoit can easily see the OS etc.. '?do=embed' frameborder='0' data-embedContent>> you can also make you're script saving the file on some hidden place or something maybe? (just thinking out loud ) regards, TheAutomator. Edited May 15, 2014 by TheAutomator Retro Console, NestedArrayDisplay UDF foldermaker-pro-clone Link to comment Share on other sites More sharing options...
MyEarth Posted May 15, 2014 Author Share Posted May 15, 2014 (edited) I'll appreciate your answer but forget about my script I'm search something like FileWrite but it will not "file write" on the hard disk but in memory, like the clipboard but not "accessible/delete by the user" Edited May 15, 2014 by MyEarth Link to comment Share on other sites More sharing options...
TheAutomator Posted May 15, 2014 Share Posted May 15, 2014 (edited) MyEarth, maybe this helps? '?do=embed' frameborder='0' data-embedContent>> [edit:] or this? http://msdn.microsoft.com/en-us/library/aa366556(VS.85).aspx regards, TheAutomator. Edited May 15, 2014 by TheAutomator Retro Console, NestedArrayDisplay UDF foldermaker-pro-clone Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now