Jump to content

microbious

Active Members
  • Posts

    193
  • Joined

  • Last visited

microbious's Achievements

Prodigy

Prodigy (4/7)

1

Reputation

  1. yes it had to be currently working hard drive.Thanks to other guy for sting, i am still learning use of strings management so i would not know this one. Kinda wish autoit had a macro for it, maybe @source ? That would be great
  2. Cant find a way to get into root of working hard drive CMD has %SOURCE% variable, but autoit (i just cant find any) Do you guys know a simple way to get to ROOT of currently working hard drive ? Thanks in advance. I just want to copy file from @scriptDir into root of hard drive where script is executed from.
  3. already said that i used wrong path, so thats fixed.how about reading other description values, like original name and language and product name and stuff ? thanks in advance
  4. Sorry i had wrong @programsdir instead of @programfilesdir Ok so what does @error 1 tell me anyway ? Can i somehow translate @error to words i can understand ? Thanks for quick reply and please, if you know how to read file property value's please do tell
  5. If it matters i run windows 7 I was trying the following. $version = FileGetVersion (@ProgramsDir & "\Common Files\Macrovision Shared\FLEXnet Publisher\FNPLicensingService.exe") MsgBox (0,'',$version) Return was 0.0.0.0 But i know file version is 11.6.10 as is shows in file properties Details tab Is there any other way to read file property value ? Thanks in advance.
  6. Dude very cool code. Do u have one that lists directories and its contents ? Maybe something like normal windows tree view with all files listed in sub-directories kinda like task bar "tool bar" does if pointed to dir with subdir's and files ? Thanks
  7. no my point was that most of console apps i used if double clicked they just blink once and nothing happens until i give them a command with batch file or so, i kinda thought that was something i might have to look into (or not) . just in case i wanted to know that there is such option.For example console app called nircmdc.exe (NirCmd v2.20 Copyright © 2003 - 2008 Nir Sofer ) does nothing unless it receives a command like "help" so it would display list of supported commands (am sure u know what am talking about). In any case thanks for answers
  8. most of them dont so i thought its kinda common thing for console apps so i wanted to get that covered.
  9. awesome thanks ill try it ASAP (as soon as i think of my first console app )
  10. can autoit make console applications such as basic xcopy or instsrv like those that if u just double click in them they would do nothign because they only accept command's given my CMD or batch files or such. Can u guys give me one example of show me link where those referenced to ? THanks in advance
  11. now xcopy says parse error
  12. sorry for asking again but i got confused with my own creation. Func xcopy($Flag, $Switch, $Source, $Dest) RunWait(@ComSpec & " " & $Flag &' xcopy "' & $Switch & '" "' & $Source & '" ' & $Dest) EndFunc if #Include <xcopy.au3> xcopy ("/k", "/E/D/Y", "C:\test", @DesktopDir) code used, i get error xcopy says invalid number of arguments. I cant figure out why can u guys help me one more time ? It looks like everything is right but it's just not working like it did minute ago
  13. 1.0 release 1.03 added multiple instance support that avoids running multiple scripts. Plus some additional file check and removals 1.2 Code changed for faster performance at loading app after restarting computer. Only changed data is now updated. Cache is empty each start up. Much faster load and unload Multiinstance is much faster as well. (Remove Saved folder before using this one for the first time) 1.2.1 XP suport/tested 32 bit SP 3 1.2.2 First run/missing INI/Missing saved folder detection. Performance tweaks. Saves data only after exit or if saved is missing. (this version was not tested with VIsta) 1.2.3 fixed problem with removing cache folder before load. 1.2.4 fixed saving not done if not lauched for first time but bith saved and data to be saved does not exist and scipt hang on copy cmd. 1.2.5 XP and vista/W7 saving and restoring from same folders to avoid issues with multiple OS firefox loader.au3
  14. thank you all guys it totally worked. I wish autoit had all xcopy features built into filecopy dircopy that would be allot easier to deal with. What i did and could do wrong was RunWait (@ComSpec & '/k xcopy /E/D' & $dir & $name & 'Saved /Y') instead it had to be RunWait (@ComSpec & ' /k xcopy /E/D ' & $dir & $name & ' Saved /Y') with space before /K and after /D and space before Saved I can get confused with all those sometimes. Thanks to all of u guys for help
  15. /c is a console switch for CMD Doesnt work Folder contents needs to be copied into script directory "saved /Y" folder where Y stands for overwrite switch but its not copied anywhere. In fact i dont even see CMD console window poping up when code executed.
×
×
  • Create New...