Go Back  PPRuNe Forums > Misc. Forums > Computer/Internet Issues & Troubleshooting
Reload this Page >

Command line access to My Computer

Wikiposts
Search
Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. NOT FOR REPORTING ISSUES WITH PPRuNe FORUMS! Please use the subforum "PPRuNe Problems or Queries."

Command line access to My Computer

Thread Tools
 
Search this Thread
 
Old 6th Aug 2012, 12:04
  #1 (permalink)  
Thread Starter
 
Join Date: Dec 2011
Posts: 2,460
Likes: 0
Received 0 Likes on 0 Posts
Command line access to My Computer

This one will have a cunning solution - if any

I have a directory like this:

My Computer\Nokia 700\MicroSD\Temp2\resource\apps

which can be browsed in Windows (XP) Explorer.

I need to get command line access to it. But CMD can access only drives like c: etc.

The purpose is to be able to do clever wildcard stuff e.g. del *.r?04
peterh337 is offline  
Old 6th Aug 2012, 12:19
  #2 (permalink)  
 
Join Date: May 2011
Location: London
Age: 58
Posts: 56
Likes: 0
Received 0 Likes on 0 Posts
It should be possible to find the file via a drive, in XP the my documents folder is in CDocuments and Settings\username\My Documents.

You can try searching for one of the files you know to be in the directory.

You may have issues with spaces in file and directory names iirc the spaces are decorated
PhineasC is offline  
Old 6th Aug 2012, 12:32
  #3 (permalink)  

Plastic PPRuNer
 
Join Date: Sep 2000
Location: Cape Town
Posts: 1,898
Received 0 Likes on 0 Posts
Add Open Command Window Here to XP Folder with PowerToy « My Digital Life
Mac the Knife is offline  
Old 6th Aug 2012, 13:03
  #4 (permalink)  
Thread Starter
 
Join Date: Dec 2011
Posts: 2,460
Likes: 0
Received 0 Likes on 0 Posts
That's a great utility - just installed it, but it doesn't work (it isn't available in the pulldown menu) for paths such as the one I posted.
peterh337 is offline  
Old 6th Aug 2012, 13:16
  #5 (permalink)  
More bang for your buck
 
Join Date: Nov 2005
Location: land of the clanger
Age: 82
Posts: 3,512
Likes: 0
Received 0 Likes on 0 Posts
Try:
Click on the \"Start\" button and click on \"Run\" option. Type \"explorer\" in the text box and hit the \"Enter\" key or click \"OK\" button.
This will access the \"My Computer\" tool and will display all the folders in a high-level view.
green granite is offline  
Old 6th Aug 2012, 13:31
  #6 (permalink)  
 
Join Date: Nov 1999
Location: Wivenhoe, not too far from the Clacton VOR
Posts: 319
Likes: 0
Received 0 Likes on 0 Posts
What is wrong with going to My Computer\Nokia 700\MicroSD\Temp2\resource\apps
Then "Search" *.r?04
Select all
Right click "delete"
?
Or am I missing your point?
Bern Oulli is offline  
Old 6th Aug 2012, 13:45
  #7 (permalink)  
Spoon PPRuNerist & Mad Inistrator
 
Join Date: Sep 2003
Location: Twickenham, home of rugby
Posts: 7,394
Received 251 Likes on 168 Posts
Peter,

The folder you want will be located on a local hard disk, and will therefore be amenable to addressing via its full path, including drive letter, which is what you require for CLI processing.

As others have said, you need to find the full path rather than the symbolic link (I assume that's what we are talking about here).

Once you have the full path, you can either work with it directly or by using SUBST to create a shorter path (there's also a visual subst utility available).

SD
Saab Dastard is offline  
Old 6th Aug 2012, 14:14
  #8 (permalink)  
Thread Starter
 
Join Date: Dec 2011
Posts: 2,460
Likes: 0
Received 0 Likes on 0 Posts
The folder you want will be located on a local hard disk
It ought to be but I cannot find it.
What is wrong with going to My Computer\Nokia 700\MicroSD\Temp2\resource\apps
Then "Search" *.r?04
Select all
Right click "delete"
The search function is not available on that path.

Basically I think the Nokia 700 is not being presented as a logical drive.

This might be the same issue with Canon cameras; they come up as "imaging device" not as a block device which can then have a drive letter, and XP's Explorer cannot access the pics properly (it can see jpegs but not raw files), whereas win7's Explorer does work properly.

Last edited by peterh337; 6th Aug 2012 at 14:47.
peterh337 is offline  
Old 7th Aug 2012, 09:51
  #9 (permalink)  
Thread Starter
 
Join Date: Dec 2011
Posts: 2,460
Likes: 0
Received 0 Likes on 0 Posts
Yes I thought of that, and it is a lot quicker too, but it works only for the SD card and not for the phone memory.

Interesting that, as I expected of this old chestnut, there doesn't seem to be a solution.

There may be something on Sysinternals, but life is short...
peterh337 is offline  
Old 7th Aug 2012, 09:52
  #10 (permalink)  

Official PPRuNe Chaplain
 
Join Date: Apr 2001
Location: Witnesham, Suffolk
Age: 80
Posts: 3,498
Likes: 0
Received 0 Likes on 0 Posts
Does Nokia hide the directory? I can't see any reason, otherwise, why a command line operation wouldn't find it and act on it. I have some automated backup routines that work with directory structures like that.
Keef is offline  
Old 7th Aug 2012, 16:13
  #11 (permalink)  
Thread Starter
 
Join Date: Dec 2011
Posts: 2,460
Likes: 0
Received 0 Likes on 0 Posts
There may indeed be a way to access it from the command line; for example one can access network paths.

But I have done a lot of googling and cannot see any way to do this one.

My Windows knowledge is only what one gets from many years of installing and maintaining it etc and as I said above I think the issue is that the phone is not a "block device". All the USB sticks etc appear as a block device and the USB spec has a standard profile for that. Canon, on their S90 etc little cameras decided to be clever and use the "imaging device" USB profile and M$ had to do a special hack on Windows Explorer (poorly on XP but OK on 7) to make the file system appear like a normal one so you could drag/drop.

In the Nokia 700 case I have tried the win7 Explorer too but it doesn't work any better.

The reason I am digging around this is here. Life is too short to spend too much time on sorting out a bl00dy phone but this issue is worth sorting. There is a 3rd party file browser on the (jailbroken) phone but its functionality is extremely tedious, which is why I would like to be able to browse the filing system on a PC.
peterh337 is offline  
Old 8th Aug 2012, 14:18
  #12 (permalink)  
 
Join Date: Mar 2003
Location: England
Posts: 286
Likes: 0
Received 0 Likes on 0 Posts
Are there any other removable/network drives attached?

Once windows has assigned a drive letter to a removable device it will always reuse that letter for that device. If another drive uses the same letter then when you insert the remoavble drive it will be invisible.

This may be part of the issue.

EG
ExGrunt is offline  
Old 8th Aug 2012, 15:10
  #13 (permalink)  
Thread Starter
 
Join Date: Dec 2011
Posts: 2,460
Likes: 0
Received 0 Likes on 0 Posts
Not AFAIK. The N700 phone never appeared as a drive letter.
peterh337 is offline  
Old 8th Aug 2012, 16:37
  #14 (permalink)  
Per Ardua ad Astraeus
 
Join Date: Mar 2000
Location: UK
Posts: 18,579
Likes: 0
Received 0 Likes on 0 Posts
Does it show in Computer Management/Disk Management?
BOAC is offline  
Old 8th Aug 2012, 21:33
  #15 (permalink)  
Thread Starter
 
Join Date: Dec 2011
Posts: 2,460
Likes: 0
Received 0 Likes on 0 Posts
No..................
peterh337 is offline  
Old 8th Aug 2012, 22:14
  #16 (permalink)  
Spoon PPRuNerist & Mad Inistrator
 
Join Date: Sep 2003
Location: Twickenham, home of rugby
Posts: 7,394
Received 251 Likes on 168 Posts
Peter,

I understand what you mean now - a portable USB device. I don't have that phone but I do have a Samsung U5 MP3 player that exhibits the same behaviour in Win 7 (no longer have XP).

I found some interesting references to Windows media player 11 that may be part of the problem, and to the drivers associated with the device. For example:
Windows XP: windows XP portable device, MP3 player, USB device

Perhaps there's something there that may point towards a resolution.

SD
Saab Dastard is offline  
Old 9th Aug 2012, 09:36
  #17 (permalink)  
Thread Starter
 
Join Date: Dec 2011
Posts: 2,460
Likes: 0
Received 0 Likes on 0 Posts
I have made a partial breakthrough...

To a file explorer running in the phone, there are drives c: d: e: where e: is a micro-SD card.

Deep in the phone settings, I can make the phone's USB port look like

Mass storage
Media transfer
Nokia suite
Use phone as a modem

I had it set to Nokia suite. Setting it to Mass storage reveals d: and e: as drive letters I still cannot see c: but that's probably because Nokia deliberately block it when the "mass storage" mode is activated. For hacked phones, there are drive remapping utilities that achieve that

Last edited by peterh337; 9th Aug 2012 at 12:59.
peterh337 is offline  

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2024 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.