Jump to content
Sign in to follow this  
DirtDBaK

I have a Project Idea - Maping of all contents of the windows folder

Recommended Posts

DirtDBaK

Ok At school when im browsing for files in the windows folder that i want to run like solitare i have to use a shortcut to get to anything under c:\. Novell Netware with windows Xp is what were using. I dont want to hack though, I just want a map of the win xp windows folder. So the html pages would be like this

(index.htm)

-Root-

<C:\Windows\Media\>

Windows xp startup.wav

Windows Xp shutdown.wav

New Folder <-- (that would be a link to a page with all the contents of a new folder )

I have a server to host this on, but would anyone help me write this???


[center][/center]

Share this post


Link to post
Share on other sites
Tasmania

Ok At school when im browsing for files in the windows folder that i want to run like solitare i have to use a shortcut to get to anything under c:\. Novell Netware with windows Xp is what were using. I dont want to hack though, I just want a map of the win xp windows folder. So the html pages would be like this

(index.htm)

-Root-

<C:\Windows\Media\>

Windows xp startup.wav

Windows Xp shutdown.wav

New Folder <-- (that would be a link to a page with all the contents of a new folder )

I have a server to host this on, but would anyone help me write this???

I highly doubt any EXE which "feels" out the windows folder will be allowed by ANY anti-virus software or firewall software... however I suppose I may be incorrect in that assumption.

As for the project idea, why is this posted in the help and support forum?

Share this post


Link to post
Share on other sites
DirtDBaK

for help creating it i guess where should i have put it??


[center][/center]

Share this post


Link to post
Share on other sites
DirtDBaK

it wont be an exe by the way itll be run once to make the html files then later put on a web server....


[center][/center]

Share this post


Link to post
Share on other sites
Tasmania

it wont be an exe by the way itll be run once to make the html files then later put on a web server....

This is very task-specific, and if you are looking for a one-time-run, I'm sure if you spend 5 or 10 minutes on google you will find an application that will do this for you, or maybe even a windows application listing. Did you google for it before you decided to try the hard way?

I can't envision many uses for an application like this...

Share this post


Link to post
Share on other sites
DirtDBaK

i really didnt think there would be one out there but there prolly is ill check, not now about to leave 4 the bus. damn bus should be driving now but mother wont let me


[center][/center]

Share this post


Link to post
Share on other sites
DW1

i really didnt think there would be one out there but there prolly is ill check, not now about to leave 4 the bus. damn bus should be driving now but mother wont let me

LOL.... LOL LOL LOL

LMFAO

Share this post


Link to post
Share on other sites
weaponx

Easy enough:

"HTML/XML Directory List Generator (HDLG) is a Java2TM application that creates an HTML file (i.e., a web page) or an XML file of a given directory."

http://www.hdlg.info/

Share this post


Link to post
Share on other sites
RobertKipling

Free Commander is a good-enough program. I'm designing a program that allows the Run dialog box, a "Windows Explorer," etc, and you might like it if enough of your school computers are blocked.

Share this post


Link to post
Share on other sites
DirtDBaK

Free Commander is a good-enough program. I'm designing a program that allows the Run dialog box, a "Windows Explorer," etc, and you might like it if enough of your school computers are blocked.

Well let me know when its completed then


[center][/center]

Share this post


Link to post
Share on other sites
DirtDBaK

Easy enough:

"HTML/XML Directory List Generator (HDLG) is a Java2TM application that creates an HTML file (i.e., a web page) or an XML file of a given directory."

http://www.hdlg.info/

thanks i'll take a look at it


[center][/center]

Share this post


Link to post
Share on other sites
tAKTelapis

I assume that the OPs idea is to have a HTML file containing links to all of the chosen programs he wishes to run at school. By the token that there are no shortcuts to solitaire, freecell etc, or the CMD, perhaps even notepad.exe. Hence, he wants to build a complete HTML list of URL links to these files, launch it online so that he can visit it to open any file he wants.

And so long as you are actually interested in learning, do the basic tutes in the helpfile (hello word and string handling) then look at these functions:

Loops

_FileListToArray()

FileOpen

FileWriteLine

Those should put you on the right track.

Finally:

As a person, my comment is this:

Great idea, i like how you think outside the box, but why not just take the time to compile a custom one so that you only have what you need, not all the extra crap?

As a sysadmin i say:

LOL, can't wait to track down your website and block it so you cannot access it :)

Then ill be off to hash all of said games .exe files in the group policy so that even when you do hyperlink them they will not run, and as if that wasn't enough, ill change the reg keys on all of the computers to disable ctrl+click to follow hyperlinks in office programs. What can i say, i am a BOFH and i like things on my network to run my way. (Just so you know, i have no idea who you are, but yeah, if things like this start happening.. LOL)

Share this post


Link to post
Share on other sites
Devilname

Hi, this coding shld get some part started, :)

#Include <File.au3>
#Include <Array.au3>

$folder = FileSelectFolder ("Select a folder to list contents", "")
$accept = MsgBox(1+262144, "Folder Content Listing", "Program will list all files the directory '" & $folder & "'. OK to proceed?")

$totalFiles = 0
$totalsize = 0

If $accept = 1 Then
    $savefolder = FileSelectFolder ("Select a folder to save the output", "")
    $fileout = FileOpen ($savefolder & "\out.txt", 2)
    FileWriteLine($fileout, $folder)
    ListFolderFiles($folder, 0)
    FileWriteLine($fileout, "Total: " & $totalFiles & " files and folders. " & "Total Files Size: " & $totalsize)
    FileClose($fileout)
    RunWait("notepad.exe " & $savefolder &  "\out.txt")
Else
    Exit(0)
EndIf

Func ListFolderFiles($folder, $lvl); recursive folder function
    $lvlCounter = 0
    $beforeString = "|- "
    
;   MsgBox(262144, $lvl, $folder)
    
    While $lvlCounter <> $lvl
        $beforeString = StringReplace($beforeString, "|- ", "| ")
        $beforeString = $beforeString & "|- "
        $lvlCounter = $lvlCounter + 1
    WEnd
    
    $fileArray = _FileListToArray($folder)
    If @Error <> 4 Then
        $totalFiles = $totalFiles + ($fileArray[0] - 1)
        
        For $r = 1 to UBound($fileArray, 1) - 1
            If StringInStr($fileArray[$r], ".") = 0 Then
                FileWriteLine($fileout,  $beforeString & "<" & $fileArray[$r] & ">")
                ListFolderFiles($folder & "\" & $fileArray[$r], $lvl + 1)
            Else
                $totalsize = $totalsize + FileGetSize ($folder & "\" & $fileArray[$r])
                FileWriteLine($fileout, $beforeString & $fileArray[$r])
            EndIf
        Next
    EndIf
EndFunc

Ok At school when im browsing for files in the windows folder that i want to run like solitare i have to use a shortcut to get to anything under c:\. Novell Netware with windows Xp is what were using. I dont want to hack though, I just want a map of the win xp windows folder. So the html pages would be like this

(index.htm)

-Root-

<C:\Windows\Media\>

Windows xp startup.wav

Windows Xp shutdown.wav

New Folder <-- (that would be a link to a page with all the contents of a new folder )

I have a server to host this on, but would anyone help me write this???

Share this post


Link to post
Share on other sites
DirtDBaK

all right ill try to use that thanks for the help!

Edited by DBak

[center][/center]

Share this post


Link to post
Share on other sites
Tasmania

I assume that the OPs idea is to have a HTML file containing links to all of the chosen programs he wishes to run at school. By the token that there are no shortcuts to solitaire, freecell etc, or the CMD, perhaps even notepad.exe. Hence, he wants to build a complete HTML list of URL links to these files, launch it online so that he can visit it to open any file he wants.

And so long as you are actually interested in learning, do the basic tutes in the helpfile (hello word and string handling) then look at these functions:

Loops

_FileListToArray()

FileOpen

FileWriteLine

Those should put you on the right track.

Finally:

As a person, my comment is this:

Great idea, i like how you think outside the box, but why not just take the time to compile a custom one so that you only have what you need, not all the extra crap?

As a sysadmin i say:

LOL, can't wait to track down your website and block it so you cannot access it :)

Then ill be off to hash all of said games .exe files in the group policy so that even when you do hyperlink them they will not run, and as if that wasn't enough, ill change the reg keys on all of the computers to disable ctrl+click to follow hyperlinks in office programs. What can i say, i am a BOFH and i like things on my network to run my way. (Just so you know, i have no idea who you are, but yeah, if things like this start happening.. LOL)

You remind me of my spunky tech supervisor in High School... but he was too innane to realize that you could block access to the group policy for administrators and still run it logged in as Administrator... I was too knowledgeable and given access to an admin account for my own personal use... it went downhill from there.

Ahh, work is so much better than school... there at least they only somewhat try to limit your internet usage, and they let you customize YOUR desktop at YOUR cubical. No point to go any further than that!

Share this post


Link to post
Share on other sites
DirtDBaK

ha well im not asking for anything from the tech at our school just two days ago a girl and three guys got busted for looking at porn. ...lol they printed it off and the teacher picked it up from the printer.... I think thats funny.....


[center][/center]

Share this post


Link to post
Share on other sites
DirtDBaK

As a sysadmin i say:

LOL, can't wait to track down your website and block it so you cannot access it :)

Then ill be off to hash all of said games .exe files in the group policy so that even when you do hyperlink them they will not run, and as if that wasn't enough, ill change the reg keys on all of the computers to disable ctrl+click to follow hyperlinks in office programs. What can i say, i am a BOFH and i like things on my network to run my way. (Just so you know, i have no idea who you are, but yeah, if things like this start happening.. LOL)

ok.. well go you... but i dont like the tech at our school he's not very smart plus novell sux

Edited by DBak

[center][/center]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.