Re: Can't delete file
Thanks for the suggestion Kleven, but neither did the suggestion below work: C:\TEMP\downloads\nutch-2003-11-17\www.greece101.comdir /x Volume in drive C is C Drive Volume Serial Number is 9C5F-537E Directory of C:\TEMP\downloads\nutch-2003-11-17\www.greece101.com 01/18/2004 09:50p DIR . 01/18/2004 09:50p DIR .. 01/18/2004 07:19p 30,217 WCTPRO~1.ACT [EMAIL PROTECTED]slid=40product =Hoteltype=PropertyInformationlang=ENGaffiliateId=10006093hotelId=11275352include=OVERVIE Wdid=4numberAdults=1numberRooms=1additionalCurrency=needDates=YdebugXML=false 01/18/2004 07:19p 28,679 WCTPRO~4.ACT [EMAIL PROTECTED]slid=40product =Hoteltype=PropertyInformationlang=ENGaffiliateId=10006093hotelId=10214456include=OVERVIEW did=4numberAdults=1numberRooms=1dateSelected=falseneedDates=YdebugXML=false 01/18/2004 07:19p 28,607 WCTPRO~2.ACT [EMAIL PROTECTED]slid=40product =Hoteltype=PropertyInformationlang=ENGaffiliateId=10006093hotelId=10214461include=OVERVIEW did=10numberAdults=1numberRooms=1dateSelected=falseneedDates=YdebugXML=false 01/18/2004 07:19p 28,458 WCTPRO~3.ACT [EMAIL PROTECTED]slid=40product =Hoteltype=PropertyInformationlang=ENGaffiliateId=10006093hotelId=10214537include=OVERVIEW did=14numberAdults=1numberRooms=1dateSelected=falseneedDates=YdebugXML=false 4 File(s)115,961 bytes 2 Dir(s) 2,398,576,640 bytes free C:\TEMP\downloads\nutch-2003-11-17\www.greece101.comdel WCTPRO~1.ACT File Not Found But trying to rename the long file OR the Dos file isn't permitted either: C:\TEMP\downloads\nutch-2003-11-17\www.greece101.comREN WCTPRO~4.ACT WCTPRO~7.ACT The system cannot find the path specified. C:\TEMP\downloads\nutch-2003-11-17\www.greece101.comREN WCTPRO~4.ACT TEST1.ACT The system cannot find the path specified. Any other suggestions? Thanks, Zeb On Mon, 19 Jan 2004, Kleven Bingham wrote: :If you have any trouble with the method below (which should work just :fine, AFAICT) you should be able to rename the file in explorer to :something much more friendly, i.e. delfile.dat, and then simply delete it. : :Seth Rubin wrote: : :All DOS files are also stored in 8.3 name format. Your file is probably :stored as WCTPRO~1.ACT :To see the 8.3 name belonging to a file, do DIR /X from a DOS window. You :can fully use this name to access the file in question. E.g. : :DEL WCTPRO~1.ACT : :-- Seth : :-Original Message- :From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf :Of Aurangzeb M. Agha :Sent: Sunday, January 18, 2004 9:52 PM :To: Cygwin Mail List :Subject: Can't delete file : : :While running wget on a site I run, I ended up downloading the following :file: : :[EMAIL PROTECTED]slid=40product=Hoteltype=PropertyInformationlang :=ENGaffiliateId=10006093hotelId=10214537include=OVERVIEWdid=14numberAdu :lts=1numberRooms=1dateSelected=falseneedDates=YdebugXML=false : :Problem is that now I can't get rid of it. I'm guessing this is due to :the M$ char limit. I've tried everything from: : :ls *wctProp* | xargs rm -f : :to 'rm -f *', but no luck. Every time, I get the same thing: : :$ rm :[EMAIL PROTECTED]slid\=40\product\=Hotel\type\=PropertyInformat :ion\lang\=ENG\af :filiateId\=10006093\hotelId\=10214537\include\=OVERVIEW\did\=14\numberAd :ults\=1\numberRooms\=1 :\dateSelected\=false\needDates\=Y\debugXML\=false :rm: cannot remove :[EMAIL PROTECTED]slid=40product=Hoteltype=PropertyInformationlan :g=ENG :affiliateId=10006093hotelId=10214537include=OVERVIEWdid=14numberAdults=1 :numberRooms=1dateSelec :ted=falseneedDates=YdebugXML=false': File or path name too long : :Anyone have any idea what I can do? I've tried to remove from a Dos :window, Windows Explorer, but no luck. : : :Thanks, : :Zeb : :-- :Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple :Problem reports: http://cygwin.com/problems.html :Documentation: http://cygwin.com/docs.html :FAQ: http://cygwin.com/faq/ : : :-- :Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple :Problem reports: http://cygwin.com/problems.html :Documentation: http://cygwin.com/docs.html :FAQ: http://cygwin.com/faq/ : : : : : -- Aurangzeb M. Agha | Email : [EMAIL PROTECTED] | Home : +1 413 586.4863 | Pager : +1 413 785.7568 | : [EMAIL PROTECTED] 73 Bridge St. #15 | Mobile: coming soon Northampton, MA 01060 | e-Fax : +1 978 246.0770 USA | PGP id: coming soon -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Can't delete file
Dave -- That worked! Thank goodness, I thought I'd have to live with an unwanted folder forever. I'm curious--was what you suggested possible just because I was lucky? What if the names of the files had been even longer; would your suggestion not have worked?! Thanks so much. Sincerely, Zeb Date: Mon, 19 Jan 2004 15:51:32 - From: Dave Korn [EMAIL PROTECTED] To: 'Cygwin Mail List' [EMAIL PROTECTED] Subject: RE: Can't delete file -Original Message- From: cygwin-owner On Behalf Of Aurangzeb M. Agha Thanks for the suggestion Kleven, but neither did the suggestion below work: C:\TEMP\downloads\nutch-2003-11-17\www.greece101.comdir /x Here, maybe this will work: try shortening the overlong path by doing something like this: ---snip--- C: cd \temp\downloads ren nutch-2003-11-17 x move x \ cd \x ren www.greece101.com y cd \x\y del wctpro~1.act ---snip--- so that the file ends up being called C:\x\y\wctPropInfo(...snip!); with a bit of luck, reducing the C:\TEMP\downloads\nutch-2003-11-17\www.greece101.com path part of the filename to C:\x\y might make the overall filename enough shorter to fit within the maximum path length. It does seem as if, because Bash feels the need to escape all the embedded equals, ampersand, and at signs: $ rm [EMAIL PROTECTED]slid\=40\product\=Hotel\type\=PropertyInf ormat ion\lang\=ENG\af filiateId\=10006093\hotelId\=10214537\include\=OVERVIEW\did\=14\num berAd ults\=1\numberRooms\=1 \dateSelected\=false\needDates\=Y\debugXML\=false rm: cannot remove [EMAIL PROTECTED]slid=40product=Hoteltype=PropertyInformatio nlan g=ENG affiliateId=10006093hotelId=10214537include=OVERVIEWdid=14numberAdu lts=1 numberRooms=1dateSelec ted=falseneedDates=YdebugXML=false': File or path name too long that what might otherwise be a legit pathname is becoming too long. cheers, DaveK -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Can't delete file
While running wget on a site I run, I ended up downloading the following file: [EMAIL PROTECTED]slid=40product=Hoteltype=PropertyInformationlang=ENGaffiliateId=10006093hotelId=10214537include=OVERVIEWdid=14numberAdults=1numberRooms=1dateSelected=falseneedDates=YdebugXML=false Problem is that now I can't get rid of it. I'm guessing this is due to the M$ char limit. I've tried everything from: ls *wctProp* | xargs rm -f to 'rm -f *', but no luck. Every time, I get the same thing: $ rm [EMAIL PROTECTED]slid\=40\product\=Hotel\type\=PropertyInformation\lang\=ENG\af filiateId\=10006093\hotelId\=10214537\include\=OVERVIEW\did\=14\numberAdults\=1\numberRooms\=1 \dateSelected\=false\needDates\=Y\debugXML\=false rm: cannot remove [EMAIL PROTECTED]slid=40product=Hoteltype=PropertyInformationlang=ENG affiliateId=10006093hotelId=10214537include=OVERVIEWdid=14numberAdults=1numberRooms=1dateSelec ted=falseneedDates=YdebugXML=false': File or path name too long Anyone have any idea what I can do? I've tried to remove from a Dos window, Windows Explorer, but no luck. Thanks, Zeb -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
php.exe for cygwin
I've got mod_php/apache-php installed and running on my cygwin dist, but one of the things I want to do is run php scripts from the command line. Is there a way for me to obtain php in the bin dir so I can execute it from the command line like I call Perl? I've looked in the archives, but not found any such info. Thanks in Advance, Zeb -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: vi startup problem
My apologies for not posting properly. Using Cygwin 1.3.22 on W2K. I've looked at the archives (extensively) and not found a solution to this. One thing I _did_ do is extapolate from other postings that the problem might be non-compatible versions cygwin with vi. To remedy this, I re-ran setup.exe and got all the curr packages. This seemed to do the trick. Was my assessment correct? Rgs, Zeb On Mon, 18 Aug 2003, Larry Hall wrote: :Aurangzeb M. Agha wrote: : When I try to start up vi, I get the following: : : Terminal entry not found in terminfo : 'cygwin' not known. Available builtin terminals are: : builtin_ansi : builtin_xterm : builtin_iris-ansi : builtin_dumb : defaulting to 'ansi' : : What's causing this, and how do I resolve it? : :See http://cygwin.com/problems.html. Cygwin Win95/NT Configuration Diagnostics Current System Time: Mon Aug 18 22:25:27 2003 Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4 Path: D:\cygwin\usr\local\bin D:\cygwin\bin D:\cygwin\bin d:\javalib\lib d:\javalib\Jikes\bin d:\jdk1.4\bin d:\Misc\WinCvs d:\Perl\bin\ D:\cygwin\bin D:\cygwin\usr\X11R6\bin c:\WINNT\system32 c:\WINNT c:\WINNT\System32\Wbem c:\PROGRA~1\ULTRAE~1 d:\Misc\bugseeker2\bin d:\javalib\j2sdkee1.2.1\bin d:\Misc\SSH Secure Shell d:\javalib\Jakarta\jakarta-ant\bin c:\Program Files\Executive Software\DiskeeperServer\ c:\TEMP\downloads\jreversepro-1.4.1-bin\jreversepro-1.4.1\bin d:\javalib\jrevpro\bin d:\vslick\win D:\cygwin\bin\id.exe output (nontsec) UID: 1000(aagha) GID: 513(None) 513(None) D:\cygwin\bin\id.exe output (ntsec) UID: 1000(aagha) GID: 513(None) 513(None)544(Administrators) 545(Users) SysDir: C:\WINNT\system32 WinDir: C:\WINNT HOME = `D:\cygwin\home\aagha' LIBRARY_PATH = `//d/cygwin/lib' MAKE_MODE = `unix' PWD = `/home/aagha' USER = `aagha' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' ANT_HOME = `D:\javalib\Jakarta\jakarta-ant' APPDATA = `C:\Documents and Settings\aagha\Application Data' APP_ROOT = `D:\dev\dev_Avedo\app' CLASSPATH = `.;D:\dev\classes;D:\javalib\lib\pgjdbc2.jar;D:\dev\dev_G101\App\build;D:\dev\dev_G101\App\lib' CLASSPATH_DEV_G101 = `D:\dev\dev_G101\App\build;D:\dev\dev_G101\App\lib' CLASSPATH_MISC = `D:\dev\classes;D:\javalib\lib\pgjdbc2.jar;' COMMONPROGRAMFILES = `C:\Program Files\Common Files' COMPUTERNAME = `SUNTZU' COMSPEC = `C:\WINNT\system32\cmd.exe' CVSROOT = `:pserver:[EMAIL PROTECTED]:/usr/local/cvsroot' CVS_RSH = `ssh' DISKEEPERICON = `C:\Program Files\Executive Software\DiskeeperServer\' DISPLAY = `127.0.0.1:0.0' HOMEDRIVE = `C:' HOMEPATH = `\' J2EE_HOME = `D:\j2sdkee1.3.1' JAVA_HOME = `D:\j2sdk1.4.1' JREVERSE_HOME = `D:\javalib\jrevpro' LOGONSERVER = `\\SUNTZU' MANPATH = `:/usr/ssl/man' NUMBER_OF_PROCESSORS = `1' OLDPWD = `/usr/bin' OS2LIBPATH = `C:\WINNT\system32\os2\dll;' OS = `Windows_NT' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 3, GenuineIntel' PROCESSOR_LEVEL = `6' PROCESSOR_REVISION = `0803' PROGRAMFILES = `C:\Program Files' PROMPT = `$P$G' PS1 = `\[\033]0;\w\007 [EMAIL PROTECTED] \[\033[33m\w\033[0m\] $ ' RESIN_HOME = `D:\javalib\resin' SHLVL = `1' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINNT' TEMP = `c:\tmp' TERM = `cygwin' TMP = `c:\tmp' TOMCAT_HOME = `d:\javalib\Jakarta\jakarta-tomcat' UNISON = `D:\cygwin\home\aagha\.unison' USERDOMAIN = `SUNTZU' USERNAME = `aagha' USERPROFILE = `C:\Documents and Settings\aagha' VSLICKCONFIG = `d:\vslick\config' WINDIR = `C:\WINNT' _ = `/usr/bin/cygcheck' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x0020 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `D:\cygwin' flags = 0x HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `D:\cygwin/bin' flags = 0x HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `D:\cygwin/lib' flags = 0x HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0 HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00 HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01 HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02 HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
PHP and Cygwin
I've looked through Google and the Cygwin list archives and FAQ for this answer, but not found anything difinitive. Is there a PHP installation/add-in for cygwin? If so, where do I get it, and where's the info on how to install and configure it? Thanks, Zeb -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/