Jump to content



Photo

Cmd.. a cmd udf, :)


  • Please log in to reply
10 replies to this topic

#1 ludocus

ludocus

    Possibly inventive crap going on right here

  • Active Members
  • PipPipPipPipPipPip
  • 664 posts

Posted 25 June 2008 - 08:00 PM

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:
Attached File  cmd.au3   7.25KB   717 downloads

Enjoy!








#2 ludocus

ludocus

    Possibly inventive crap going on right here

  • Active Members
  • PipPipPipPipPipPip
  • 664 posts

Posted 26 June 2008 - 05:25 AM

19 downloads verder and nobody comments??

#3 AgentSmith15

AgentSmith15

    Adventurer

  • Active Members
  • PipPip
  • 113 posts

Posted 26 June 2008 - 08:24 AM

Why not just use command line commands?

Posted Image


#4 ludocus

ludocus

    Possibly inventive crap going on right here

  • Active Members
  • PipPipPipPipPipPip
  • 664 posts

Posted 26 June 2008 - 04:19 PM

why not my way?..
I like my way better thats why.. :)

#5 JellyFish666

JellyFish666

    Universalist

  • Banned (NOT IN USE)
  • 291 posts

Posted 26 June 2008 - 05:42 PM



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.


Edited by JellyFish666, 26 June 2008 - 05:43 PM.


#6 microsoft

microsoft

    Wayfarer

  • Active Members
  • Pip
  • 67 posts

Posted 03 July 2008 - 03:41 AM

Thanks

Please Add Look or Unlook Files To Use

_CmdLockDrive("F","")

And Thanks To All ...

#7 ludocus

ludocus

    Possibly inventive crap going on right here

  • Active Members
  • PipPipPipPipPipPip
  • 664 posts

Posted 03 July 2008 - 07:26 PM

thanks... and what do you mean with Look or Unlook files??
Do you mean: Lock or Unlock files?

#8 SmOke_N

SmOke_N

    It's not what you know ... It's what you can prove!

  • Moderators
  • 15,729 posts

Posted 03 July 2008 - 07:34 PM

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.


#9 ludocus

ludocus

    Possibly inventive crap going on right here

  • Active Members
  • PipPipPipPipPipPip
  • 664 posts

Posted 03 July 2008 - 07:35 PM

:muttley: I'm sorry...
I don't know how to do this...

#10 James

James

    jbrooksuk

  • MVPs
  • 9,498 posts

Posted 04 July 2008 - 10:28 AM

Google does.

#11 Marcuzzo18

Marcuzzo18

    Seeker

  • Active Members
  • 21 posts

Posted 06 July 2008 - 10:47 PM

check here
quisnam est quantum stultus , balatro vel balatro quisnam insistovolubilis in solum rideo risi risum----------------------------------------------------------------------------------------------------------------------------Portable Command Line Tool




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users