Jump to content

Cmd.. a cmd udf, :)


ludocus
 Share

Recommended Posts

I was thinking what I could do...

So I made a new udf..

Cmd.au3!

it has 16 functions:

They all use cmd.. :)

- _CmdCreateMsgbox($sText, $background=1)

- _CmdCreateUser($sUsername, $sPassword='', $background=1)

- _CmdDeleteUser($sUsername, $background=1)

- _CmdResetWinsock($background=1)

- _CmdFlushDns($background=1)

- _CmdRegisterDns($background=1)

- _CmdRegImport($sFile, $background=1)

- _CmdRegExport($sKeyName, $sFile, $background=1)

- _CmdLockDrive($sDrive, $background=1)

- _CmdUnLockDrive($sDrive, $background=1)

- _CmdDeleteFile($sPath, $background=1)

- _CmdWriteLine($sPath, $sText='-', $background=1)

- _CmdAppendLine($sPath, $sText='-', $background=1)

- _CmdPing($sAdress)

- _CmdCreateDir($sPath, $background=1)

- _CmdShutdown($sShutdowncode=0, $sExtra='', $sTime=00, $sExtra2='')

here it is:

cmd.au3

Enjoy!

Link to comment
Share on other sites

why not my way?..

I like my way better thats why.. :)

It's nice but the reason for not using your way is because it just a waste of resources if we are not going to use every function in your udf, considering it is easy enough to just do.

_rundos()
Edited by JellyFish666
Link to comment
Share on other sites

  • Moderators

thanks... and what do you mean with Look or Unlook files??

Do you mean: Lock or Unlock files?

Of course they do...

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...