Jump to content

Au3toCmd -- Avoid false virus positives. (Version: 2022.09.01)


Exit
 Share

Recommended Posts

On 1/29/2020 at 8:46 PM, Exit said:

In order to simplify this procedure, I wrote the Au3toCmd script. Here a *.Cmd file is generated from a *.Au3 file. The necessary files Autoit3.exe and *.A3x are added to the "*.Cmd" file as "alternate data streams".

Just google for "alternate data streams". 

App: Au3toCmd              UDF: _SingleScript()                             

Link to comment
Share on other sites

After running an exe file in this script and made it portabel.zip and you move it to another computer and unzip the zip file and run the file File.cmd.ADS.Run-me-first.cmd when it has unpacked the contents automatically creates a desktop shortcut when it is done? and even better if the created shortcut has the icon from the original file. Is this possible in any way.

Link to comment
Share on other sites

 

On 7/12/2020 at 10:58 PM, Borje said:

After running an exe file in this script and made it portabel.zip and you move it to another computer and unzip the zip file and run the file File.cmd.ADS.Run-me-first.cmd when it has unpacked the contents automatically creates a desktop shortcut when it is done? and even better if the created shortcut has the icon from the original file. Is this possible in any way.

The shortcut with the icon is now default. 
If you don't like the shortcuts, just delete them.

New version is in the first post. :thumbsup:

@Borje Just send me a virtual cup of coffee or click the like/thanks at the rigth side. 😀

App: Au3toCmd              UDF: _SingleScript()                             

Link to comment
Share on other sites

Hi exit ! I have test your latest version and see you have done much work in the code but when i test it not create any lnk to my desktop

from the zipped file but in command window it says it is created please see in the picture what can this problem be?

test.jpg

Link to comment
Share on other sites

On 7/7/2020 at 4:33 PM, Exit said:

Please save a copy of Test.au3 on the desktop and try it from there.
I suspect an authority problem with the directory 'undetect'.

 

On 7/7/2020 at 4:47 PM, Exit said:

It is usually a bad idea to use the filesystem outside of your own user directory.
In your case, Powershell was installed correctly, but had no authorization to write to "undetect".
The error message is therefore misleading.
Let's see what I can do there.

@Borje

Seems to be the same problem as in the qouted posts.

It is usually a bad idea to use the filesystem outside of your own user directory. 

The creation of the shortcut needs authorisation, which is not given in your environment.

Just try again using a directory inside your user directory.

App: Au3toCmd              UDF: _SingleScript()                             

Link to comment
Share on other sites

Unfortunately, Swedish is not my mother tongue.

"det gär inte att skapa genvägen"

Google has translated the following for me:

"it does not like to create the shortcut"

I interpret that the attempt to save the shortcut in VBscript was unsuccessful.
I suspect that VBScipt cannot process the letter 'ö' in Borje.

Just create another user without special characters and try it there.

App: Au3toCmd              UDF: _SingleScript()                             

Link to comment
Share on other sites

Have done some tests with vbs script and come to the conclusion that probably the problem is not in vbs have attached a vbs script that works on desktop that has å ä ö so there are no problems so probably it is another problem.

test.vbs

Link to comment
Share on other sites

  • Exit changed the title to Au3toCmd -- Avoid false virus positives. (Version: 2022.09.01)

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...