ping.exe, ipconfig.exe ...? - HD2 General

Could someone tell me how to run some "useful" executable files like ping.exe, ipconfig.exe (and many others...) found in WINDOWS folder!!!

Explain your problem better and I will try to help as much as I can.

When I'm browsing in windows folder I've found a lot of exe's that seem to be useful but I can't find a way t run them

As far as I can see on my HD2, there are no .exes such as ping or ipconfig... those are executables that are only present on a PC. Perhaps it`s just my device...
As for running an executable, all you should theoretically do is to tap it in the file explorer. It will automatically start.
I also strongly advise you not to mess around with .exes in the Windows folder, that can have nasty results if you`re unaware of what you are doing.

My ROM version 1.66.415.4
I do have ping.exe but it's like a command not an application I think I should run through a command console (cmd)

Not sure about this... Sorry, maybe someone else who is more capable and knowledgeable might answer your question.

I have them too. I do not touch them due to my lack of knowledge.

Try installing this:
http://www.microsoft.com/downloads/...01-49d4-4506-a03b-c41bc76c2f51&DisplayLang=en

Thanks for your replies, I've tried to use POCKET CMD (Windows Mobile Power Toys) and I did the registry teak to make the console visible, and I managed to run PING.EXE, it worked but in a separate console and it closed right after end of execution, during that i was able to see the result (number of received packets).
If any body tried my method please tell me how to keep the console opened after the execution ?

Even when you try to execute ping or ipconfig it will "run" and then close. If you open the actual command prompt and actually ping something it will respond, while ipconfig will list the stats of the device.
Having pocket CMD will let the application run, but it needs something to "ping"
Did you try to open a command window and actually ping a web address? It should stay open if done that way.
If Pocket CMD runs like the regular one at least...

Nop, I was predicting that it should work just like the one on PC, but not, even when I'm starting PING form the console to actually ping "something", another console window appear, display the result and close immediately.
I think the solution is to make ping run inside the cmd console, I don't know if this could accomplished through a registry tweak

Related

HINT ! - Access WinMo from Vista side

Just a hint for all the real developers out here.
in the Vista Part, one can click a button to "install SSL certificate to WinMo-side"
It's done via a button that can be accessed from Vista Communication Manager (Shift soft-key upper right corner, press advanced settings)
What happens there is that Vista connects to the WinMo side without setting up an ActiveSync connection. It has file access. It installs a certificate in WinMo.
So.. there's a CALL there that actually has access from Vista to WinMo.
Maybe people can dissasemble that part and do something really good with it ?
There IS access from Vista to the WinMo part without ActiveSync running.
lucid said:
Just a hint for all the real developers out here.
in the Vista Part, one can click a button to "install SSL certificate to WinMo-side"
It's done via a button that can be accessed from Vista Communication Manager (Shift soft-key upper right corner, press advanced settings)
What happens there is that Vista connects to the WinMo side without setting up an ActiveSync connection. It has file access. It installs a certificate in WinMo.
So.. there's a CALL there that actually has access from Vista to WinMo.
Maybe people can dissasemble that part and do something really good with it ?
There IS access from Vista to the WinMo part without ActiveSync running.
Click to expand...
Click to collapse
please read more threads before posting one
my enter bootloader app (i posted a thread on that) accesses the WM part just fine without any activesync.
that happens through the EC driver (stands for Embedded Controller). you can do quite a lot with the EC driver (from changing various settings to getting ROM version, entering bootloader is just one of those things). though i would think that file sending works a bit different, but interesting, i'll look into that.
cmonex said:
please read more threads before posting one
my enter bootloader app (i posted a thread on that) accesses the WM part just fine without any activesync.
that happens through the EC driver (stands for Embedded Controller). you can do quite a lot with the EC driver (from changing various settings to getting ROM version, entering bootloader is just one of those things). though i would think that file sending works a bit different, but interesting, i'll look into that.
Click to expand...
Click to collapse
---
I should do better posts... I knew about your tool.
I just want to say that without ANY hacks whatsoever, there IS a connection between Vista and WinMo at "file transfer" level. Just like the hint I gave about the microphone.
I'm not a developer. I try to help guys like you with some remarks. A factory clean Shift does filetransfers via that button, somewhere my "gut" told me I should post about this , as I haven't seen any post addressing this "option" Hope you use it to our advantage.
lucid said:
---
I should do better posts... I knew about your tool.
I just want to say that without ANY hacks whatsoever, there IS a connection between Vista and WinMo at "file transfer" level. Just like the hint I gave about the microphone.
I'm not a developer. I try to help guys like you with some remarks. A factory clean Shift does filetransfers via that button, somewhere my "gut" told me I should post about this , as I haven't seen any post addressing this "option" Hope you use it to our advantage.
Click to expand...
Click to collapse
oh i like your posts, don't worry about that part. it is an interesting discovery along with the microphone one. hope you'll make more discoveries
when i get my Shift i can try this out and look more deep into it.
update
I tried to send some files over to snapvue using this option
the progress bar completes, then vista says cert install failed. the files are not there in snapvue.
what kind of sertificates you tried to send to WinMo-side? Could it be traced what happens when you run this command?
sniveri said:
what kind of sertificates you tried to send to WinMo-side? Could it be traced what happens when you run this command?
Click to expand...
Click to collapse
not true certificates, mind you, I wanted a way to avoid using a sim card to send usbtool over.
what happens is probably the shagcontrol (yeah, I mean the shift control center but this name is funnier) starts communication over crappy udp protocol with winsock2 (1 try out of 5 failed to fully send and in general was very slow) to EC driver then somehow magically the bytes get sent over to WM. probably the WM IPC driver is responsible for receiving, no idea, haven't checked this yet specifically.
update though, if you create a folder named Certificate under Windows/Settings, shagcontrol will report that the transfer was successful and that you should switch to SnapVue to finish installation. bad luck though, SnapVue *****es about the cert not being valid, and I don't see the file anywhere (probably gets deleted automatically). I heard someone was able to get their hands on a file transferred in such a way but no idea how.
Could it be possible to create service that watches this sertificates folder and creates automatically copies of new files to somewhere?
I think that this sertificate tool is made for administrators and those sertificate-files are not meant to stay on any folder because then user could easily copy those sertificates to other devices. So there is possibility that we can not transfer files this way but maybe using same route to destination.
sniveri said:
Could it be possible to create service that watches this sertificates folder and creates automatically copies of new files to somewhere?
I think that this sertificate tool is made for administrators and those sertificate-files are not meant to stay on any folder because then user could easily copy those sertificates to other devices. So there is possibility that we can not transfer files this way but maybe using same route to destination.
Click to expand...
Click to collapse
service, OK, the problem is you'd have to get the service onto the shift somehow.
what I wanted was fully eliminate the requirement of a sim card and usage of gprs/hsdpa to copy the usbtool over
though I guess if you really want that you can abuse the shared internet connection for file sending in the way danielherrero discovered, *but* not sure if that works with an invalid APN.
right, it gets under \Temp as user.cer, sometimes.

Looking for C/C++ Compiler for WM6

I recently got myself an ATT Tilt (Kaiser), which I plan on taking with me to a conference in Europe next month, and I'm not planning on taking a laptop so I can travel lightly afterwards. The phone currently has WM6 on there (I'm not going to play with flashing the ROM until after my trip).
To the point: I want a C/C++ compiler on my phone that I can use for potentially testing a few things over there (assuming the application I have in mind will work, but that's another story). I'm assuming that if I get the compiler working, it will have access to the standard C libs, including network stack.
I've tried PocketGCC, but I can't get it to work. The cabs from pocketgcc.sourceforge.net install fine, but the CMD Prompt won't open (I click on the icon and nothing happens).
Searching these boards, the only reference I've found was to http://www.mobilitysite.com/boards/business-development/135816-pocket-c.html#post1187340, but the links it points to for getting the various files no longer work.
Any suggestions or alternate links on how to get a working compiler on my smartphone?
As a backup, is CeGCC the best option for pre-compiling for the phone? Anyone know if it runs under 64-bit linux? Or if not, under win32 cygwin? Ideally, I'd love to have a cygwin-equivalent on the phone...but I guess that'll be deprecated with Android later on.
Thanks,
- David
Hi David,
I'm also looking for this and the best aproach was a DOS emulator (I think it is called Pocket DOS and there is another one that is free but don't remember the name) and Turbo C. I used it just to test very basic software that was just displayed in the DOS windows. But it was a really really little software (a couple of FORs and couple of variable incrementing), it was not fast to copile/run.
Hope this helps a little.
there is a cool project here, it's C#, not C++ but it might be of interest.
This one is supposed to be C++, but it is old and you may have problems with it. From what I recall, the command shell isn't compatible with wm6, but if you look around you may be able to find one to replace it that works.
Here is a command shell that's supposed to work with WM5/6
Good luck and let us know if you find anything else.
Also, the link to Mamaich's Version on that page you referenced works
Digicrat said:
I
is CeGCC the best option for pre-compiling for the phone? Anyone know if it runs under 64-bit linux?
Click to expand...
Click to collapse
mingw32ce (cegcc) is used to compile haret and roadmap (afaik vlc too).
It runs on amd64 very well. Have not tried it on my old DEC alpha.
Thanks for the quick responses.
edgar: PocketDOS looks interesting, but where can I find versions of Turbo C/C++ compatible with the pocketPC?
The program I'll be testing is actually a simple command-line C application, but it does use networking, UDP to be precise.
The link to Mamiach's link works on that page, but not the links on there for PocketConsole, PocketCMD, or the .bat files, though the bat files can be taken from the rar file itself.
I tried the PocketConsole and PocketCMD versions from the pocketgcc.sourceforge.net site again, and managed to get them (mostly) working after changing the reg key value.
I tried the PocketGCC cab file from gforge. It kind of works, but the test program won't compile. I still had to manually set the path for this, and for some reason it doesn't include gcc but calls the various other parts of it.
I'll try uninstalling the PocketGCC Cab and extracting Mamiach's version again and see if I have better luck with that later in the week and see how that goes.
Looks like I got it working for the most part.
Compilation is slow, but I don't want to waste space on the internal memory extracting all those .rar libs, unless I can get it installed/moved to the SD card later and adjust the paths accordingly (using spaces in file paths is always annoying).
I'm using Mamiach's version of GCC from the link above (extracted to /pgcc), plus PocketConsole and PocketCMD cabs from the pocketgcc.sourceforge.net distribution.
The only lingering (and annoying) issue is that it does not save the PATH setting after closing the cmd prompt.
Correction, I just noticed another more important issue. After switching programs, the CMD prompt seems to disappear. If I open another application, and then close that program, it will take me back to the CMD prompt. However, if I return to the "Today" screen, that prompt is still open but I can't get it back. It does not appear in that little task-switcher icon, nor in the detailed 'Task Manager'.
Any ideas?
Thanks
Update:
I just installed Dotfred's Task Manager. It looks like the problem is that the CMD prompt is being seen as a Process and not as an application. Now the question is can I change that...

adb shell question

Anyone know how to configure a windows cmd prompt window to function properly with curses in busybox, when connected via the 'adb shell' command?
It seems to mostly work, with one annoying exception: Every command line is repeated (echoed) when I hit return, before it runs. This makes vi unusable, which is extremely crippling.
Also, related: Anyone know the magic config steps to get ConnectBot to work with command history in busybox? Ironically, this all works perfectly with the U/D/L/R kbd arrow keys in a WinXP cmd window, but from ConnectBot it sends the wrong escape sequences, and just echoes some junk.
So, when I want vi, I have to do it in ConnectBot (slow typing!). When I want to test stuff, where command history comes in very handy, I have to do it on the PC (which is okay, if I'm near it!).
HELP!

[Q] Annoying ( Elevated Command Prompt ).

There is a lot I like about Windows 8 Developer, and a lot I don't like.
Number One Annoying is , Everytime I Run a Program or install something, You have to execute with administrator rights.
I can't see why I have to do this, because I am the only User and in users it shows me as administrator.
Also I find it almost impossible to install programs that are located on a HDD on another computer on my network.
ie-- I have large collection of apps located in a folder on another pc on the network.
In windows 7 I can install any of these apps from tha PC, But not in 8 , it just won't let me.
Any help would be appreciated.
Admin rights are messed up in Windows dev preview. so you will have to live with that or go back to win7. if you get too annoyed by that
even in software like vmware you wont be able to run a virtual machine if you dont run it as admin.
in 3dsmax i get an error because it cant read a file from a plugin.
and UAC disabled means nothing, only you dont have to get the message. but it doesn't mean it changes something.
i already got used to that, but when you have to run programs as admin, you dont get drag and drop. so sometimes its hard to do stuff without it and i get annoyed. but oh well. thats something they will fix for beta but since its a preview for developers. dont expect a fix for that.
can anyone help me with mine
sparks79 said:
There is a lot I like about Windows 8 Developer, and a lot I don't like.
Number One Annoying is , Everytime I Run a Program or install something, You have to execute with administrator rights.
I can't see why I have to do this, because I am the only User and in users it shows me as administrator.
Also I find it almost impossible to install programs that are located on a HDD on another computer on my network.
ie-- I have large collection of apps located in a folder on another pc on the network.
In windows 7 I can install any of these apps from tha PC, But not in 8 , it just won't let me.
Any help would be appreciated.
Click to expand...
Click to collapse
Have you tried disabling UAC ?
Start --> type "UAC", click on "Settings", then on "Change User Account Control Settings". Then slide the bar all the way to the bottom (Never notify), click OK twice.
If you REALLY need to run something as admin, Right Click --> "Run As Administrator"

[Q] it appears that I have two copies of win 8 on my pc how do I delete one?

Okay so I just decided to upgrade from win 7 to win 8 pro. I ran into some issues. I had to make several attempts I was having monitor issues. Actually it was stupid everything went fine but I have a dvi monitor and a hdmi tv hooked up I only use the tv when watching videos or movies but I guess that it defaulted to the hdmi device because I got a blank screen on my monitor but I could see the mouse. I had the tv off do I didn't realize iut but it was working fine on that until I got online and it automatically found the driver for the monitor. So anyway that problem is fixed but somehow in all my attempts I must have installed win 8 two times because when I boot it gives me the option of two different win 8 like if I had fedora or ubuntu installed but with two win 8. so I figured no problem just delete one. So I went into the disk tools and found the partition manager but it only shows two partitions. the small system partition that has to be there and my c partition with win 8.
Can two versions of windows be on the same partition? Does anyone know how to find the other copy? I always select the first one on the list.
Oh my pc is a dell xps 410 and it is an old man. But it is still going strong with upgrades
core 2 duo 1.86 ghz 4 gig ram 64 bit os I have had every release of windows since xp sp3 currently win pro.
I appreciate any help you guys can give me
Charlie
It may just be listed twice in the bootloader. Use bcdedit (as admin) and check each entry. You should find two "Windows Boot Loader" entries. Each will have a device, path, osdevice, and systemroot listed (among other things). If those all contain the same value between both entries, there's no files to delete. Next check for any other differences; there may not be any meaningful ones (the identifier is not meaningful). If you don't see any reason to keep both of them, delete one. You can use "bcdedit /? delete" for help.
GoodDayToDie said:
It may just be listed twice in the bootloader. Use bcdedit (as admin) and check each entry. You should find two "Windows Boot Loader" entries. Each will have a device, path, osdevice, and systemroot listed (among other things). If those all contain the same value between both entries, there's no files to delete. Next check for any other differences; there may not be any meaningful ones (the identifier is not meaningful). If you don't see any reason to keep both of them, delete one. You can use "bcdedit /? delete" for help.
Click to expand...
Click to collapse
Thank you for your help with this. Where would I type bcdedit? Is there a start box somewhere like in 7 and I haven't seen it yet?; I am still not too familiar with 8 yet I just got it but I will have it down in no time.
It's a command line tool. Just right-click on the Start button (mouse to lower left corner, then right-click) and choose "Command Prompt (Admin)" to launch an admin prompt (you can also do it from Start search the same as on Vista or Win7; just open the Start screen and type "cmd" or "command" and it will appear; right-click and choose "Run as Administrator").
The "Run" dialog is also still present - Win+R displays it, as it has for years - but with the new Start right-click menu (which can also be accessed via Win+X) I find I haven't needed it much.
wow I see there is alot that I have to learn about win8 thank you for all the tips. Is there a good guide out there that any of you would recomend? I usually learn best when people tell me but if I am interested enough (like I am with this) I can learn from a book.
Well here is what I get when I typed it in. I could not copy and past the text so I took a whole window snipit. Okay I cant seenm to figure out how to put it in. I would hate to have to type that all. I used the windows snipit tool. So can someone tell this idiot how to attach the pic. I saved it to my desktop. Do i use insert image and type the path to my desktop? why cant I just copy the text and past it. The would be easy darn it.
Charlie
To copy out of the terminal, right-click, select Mark, then highlight the text and right-click. You can then paste it elsewhere as normal. It's also possible to set QuickEdit mode on CMD (in Properties), which allows marking without first selecting it by right-click.

Categories

Resources