| |
| |
| |
|
Comments:
<0> is there an interval or something you can set in the framework that will tell .net apps when to clean up after themselves sorta? <1> I'm trying to write a little DLL updater /w Nullsoft Installer (NSIS) but when I run GetDLLVersion on a .DLL I only get 0.0.0.0 back, I notice the example in the docs only mention .EXEs, any ideas? <2> Could use the APIs directly instead <3> I want to get MAC addresses - from another subnet - how difficult is that? <3> i can get the MAC address from a hostname in my own subnet easiley ewnough <3> -w <4> how do you say if this object is this type of object in vb <2> typeof, you said it <4> nice <1> OnErr0r: if that was for me, what do APIs have to do with this, I merely want to check some DLLs, and if mine are newer, replace them <2> rhelik: You use APIs to check
<1> well what's the point of GetDLLVersion ?! <2> no idea, never heard of it <1> it only gets .EXE version numbers? <1> you realize I'm talking about NSIS, not VB6, right? <2> #NSIS <1> the only server than has the official #NSIS channel won't accept port 6665, I'm firewalled :( <2> What does that have to do with asking here? <1> considering NSIS is a great installer, I ***umed some VB coders would use it to deploy their apps <1> but yes, it was a long shot perhays <5> hrm <5> i havent dealt with GDI+ in quite some time <5> no time like the present <6> hi guys. i've got a little ms-dos command question <6> is this the place to ask? :) <6> i'm looking for a script to search through my drives after a string, and then give the output in a txt <7> my cock is out <4> whoa <4> tmi <4> saian: a string in a file? <6> no, just a string in a folder <4> like - in the folder name? <6> i'm using dir /s | find /i "string" <4> yeah thats what you want <6> and i'd like to do that on all my 3 disks at once <4> only you probably also want to use /b with dir... or if thats working ok <4> well yer gonna have to run 3 command prompts to do that <4> if you want it all at the same time <6> dir /s d: e: f: g: | find /i "string" >output.txt <4> that may work but if it does, it will do them one after another instead of at the same time <6> ah, i see <6> id like to do like this <4> so it ****s that you can't get all the results into one text file but - having 3 run at the same time is faster <6> i think you can <6> by using > and >> <6> >> adds to already existing file <4> yeah i guess there shouldn't be a problem with a couple of them adding to a textfile at the same time... <6> but what i'd like was a little bat file or somthing which i could call like this <4> but since you're probably not interested in viewing that textfile until the search is done? you probably could just append the 3 textfiles together <6> search.bat "string" <6> and the output would be in /search/string.txt <6> or something like that
<6> true, i can prolly just write the command manually <6> dont need a script for everything ;) <4> well since you're in #visualbasic - you could probably use the API call WinExec - and execute all 3 dos prompts at once <6> ah,i see <4> then after its all done - which btw to tell when its done - what you do is generate 3 batch files - if yer gonna do it like this - and then create a file that doesn't exist at the *end* of each batch file - that way you can tell when each one is done, <4> i mean some people would say that programmatically this is getting into hacksville, but it works, and yer just trying to do a simple search on 3 hard drives and - i mean - say what u will but the dos search is fast... - i mean - if you wrote the threaded code to do it in vb it would be as fast... so <4> like everything else theres a few different ways to do it <6> is there a view command in dos? <6> like cat is in linux? <4> type <6> nice =) <6> when i use the dir /s command, i get the file results aswell <6> not just the dirs <6> i just like the directorys <6> is that possible? <4> dir/ad <6> so <4> dir/ad/s <6> dir /ad /s /b d: e: f: g: | find /i "string" > result.txt <4> well - i'm not sure if that syntax will work - it gets a little complicated <6> correct? :) <6> *searching <6> * <4> i always seperate the drive letters with commas <4> i'd do it like dir /ad/s/b d:\*.*, c:\*.* | find ... <4> but what u have might work <6> it worked <6> but when I use /s and /b it includes the path to the folder <4> but what text are you going to find in a directory and not a file? <6> its in a dir jes <6> yes <6> is there any way for me to not get the path in the output? <4> u mean u just want the very last part of the path? <6> just the dir names i mean <6> not the c:\windows\ <6> if you know what i mean? <4> but for instance, System32 <4> ? <6> yep!! <4> so instead of C:\Windows\System32 ok. <4> not off the top of my head <4> i mean there's always dir/? but. <0> you 2 should probably type in private <4> there might be some string formatting thing you can do - sometimes i'm surprized at what dos can do <0> get to know each other a little <4> well will you come with us? i don't like wasting dutch ovens on just one guy <6> thanx kreeme <6> i settle with that one =)
Return to
#visualbasic or Go to some related
logs:
#computers #tcl gindis bot #gentoo #politics #politics #beginner #hardware www. burgerking.il #unixhelp
|
|