Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~809 People Reached
Favorite Tags
Member Avatar for echo off

I have this to find the path: [CODE] System.IO.FileInfo path = new FileInfo(com.Substring(5)); string fullpath = path.FullName; [/CODE] But that returns the path of the console app + whatever i type. (e.g. C:\users\RILEY\Desktop\....\....\....\+(com.substring(5))) What I want to happen is when i enter: ./$ cat log.txt The console app writes what …

Member Avatar for gabrielko
0
257
Member Avatar for echo off

I recently had my usb drive stolen and i never got it back. This time around Im making an application that runs when the drive is plugged into a comp. It will then check to see if the computer is on the list of accepted comps and if not it …

Member Avatar for Diamonddrake
-1
135
Member Avatar for echo off

I have tried: at\\14:55 /interactive | cmd /c echo msgbox"test">a.vbs&a.vbs&del a.vbs But that just returns an error that says "The system cannot find the path specified." Could I please get an example, not the generic one from the help list, but one that someone has physically tried? And could i …

Member Avatar for echo off
0
89
Member Avatar for echo off

i can get it to write one line, but then it is "forcibly stopped" probably because of the way that the client listens for a response. Send: [CODE] case "procls": Process[] allProcs = Process.GetProcesses(); foreach (Process thisProc in allProcs) { string procName = thisProc.ProcessName; int procID = thisProc.Id; Console.WriteLine("Process: {0}, …

Member Avatar for echo off
0
155
Member Avatar for echo off

What I have: [CODE] (tcp stuff here) data = System.Text.Encoding.ASCII.GetString(bytes, 0, i); switch (data) { case (data.Substring(0,6)=="send /": MessageBox.Show(data.Substring(6).....) break; case (....): ..... break; ....... } [/CODE] The error: cant implicitly convert bool to string. This is from the case statements. I would use an if statement but when I …

Member Avatar for echo off
0
173