making a com1 dirictory. how?
Results 1 to 6 of 6

Thread: making a com1 dirictory. how?

  1. #1
    Junior Member
    Join Date
    Jun 2003
    Posts
    26

    making a com1 dirictory. how?

    how do i make a com1 dirictory on nt box
    in simple way to make a dir it doesnt work duh, its a protected name...

    but you can make such dir in the ftp service of nt... the quastion is how to do so without anything

    just simple dos commands

    might be a good idia to show then how to get rid of such dir, like renaming and not rmdir command

  2. #2
    AO Ancient: Team Leader
    Join Date
    Oct 2002
    Posts
    5,197
    Crazy:

    First.... This probably should be moved elsewhere..... (and it was while I was typing this... )

    Second...... There are several threads dealing with protected names in Windows.

    Third...... Read the FAQ......

    Fourth..... No, I'm not in a bad mood this morning.....

    Lastly: For all the "protection" afforded by M$ for names such as com1, prn etc. they only really protect those names in the system itself and the cmd prompt. Many other facilities that can create and delete directories such as ftp or using network notation, (md \\.\c:\com1), will bypass the checking in the system.
    Don\'t SYN us.... We\'ll SYN you.....
    \"A nation that draws too broad a difference between its scholars and its warriors will have its thinking done by cowards, and its fighting done by fools.\" - Thucydides

  3. #3
    Junior Member
    Join Date
    Jun 2003
    Posts
    26
    lol ok i can understand you

    well move it to where?

    i was searching for com1 but i didnt found anything or i was searching the wrong place

    oh yeah good idia didnt read faq\rules yet sorry

  4. #4
    Senior Member
    Join Date
    Feb 2003
    Location
    Memphis, TN
    Posts
    3,747
    Usually The moderators Negative, MsMittens will move threads you can PM them if its not already moved
    =

  5. #5
    AO Curmudgeon rcgreen's Avatar
    Join Date
    Nov 2001
    Posts
    2,716
    This is an old feature from msdos. COM1 is the name of the first serial port
    on the computer. Referring to it from the command prompt talks to the port.

    Microsoft has some good info on it as it relates to windows

    http://www.microsoft.com/technet/tre...n/fq00-017.asp

    It has been exploited as a prank to crash people's machines. Using device names
    for directory names is a no-no because the OS can use a name as a device or
    as a file/directory name, but not both. Unix, on the other hand, accesses devices
    by pseudo file names called special device files
    I came in to the world with nothing. I still have most of it.

  6. #6
    Junior Member
    Join Date
    Jun 2003
    Posts
    26
    thanks rcgreen gonna read it... even though they didnt wrote the aux and prn and nul dirs
    but it also affect winnt machines as well as win9x

    btw my nt box gone mad b4 it couldn access com1 dir and the explorer was hanging but now
    it access it normaly... wierd

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •