Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Access issues with bat file invoked from SFX archive

- - - - - -iadm SFX script switches WinRAR 4

  • Please log in to reply
1 reply to this topic

#1
Tassadar930

Tassadar930
  • Member
  • 1 posts
  • Joined 16-November 12
  • OS:Windows 7 x64
  • Country: Country Flag

Hello, I created an SFX archive using the dialog box in WinRAR. I checked the box for Request administrator access, which corresponds to the command-line switch -iadm. I also ran the SFX as administrator from the context menu. Win7. UAC disabled.

 

However, in all instances, the bat file returns an "Access denied" message for the same line (del OriginatingArchive). From what I understood, it was possible to delete an SFX archive by calling a batch file with the SFX archive, after it finishes extracting? Unless the SFX archive is still in use, until whatever program it called upon was finished executing? Otherwise it's a privilige issue.

 

Any help anyone can give would be appreciated.




How to remove advertisement from MSFN

#2
jaclaz

jaclaz

    The Finder

  • Developer
  • 15,516 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

You are basically trying to self delete an executable  file?

I doubt it will work that way.

You probably want to read this:

http://www.catch22.n...ing-executables

 

jaclaz






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users