BLOG ARCHIVES

  • HOW TO CREATE A FILE LIST AT A COMMAND PROMPT

    AUTHOR: // CATEGORY: Development, Windows

    No Comments

    How to Create a File List at a Command Prompt

    1. Click Start, point to Programs, and then click MS-DOS Prompt (or Command Prompt in Windows NT).
    2. At a command prompt, locate the drive that contains the folder whose contents you want to list. For example, if you want to create a text file that contains a list of the contents of a folder on drive C, type the following command at a command prompt, and then press ENTER:
      c:
    3. At a command prompt, locate the folder whose contents you want to list. For example, if you want to create a text file that contains a list of the contents in the Windows folder on drive C, type the following commands at a command prompt, and press ENTER after you type each command:
      cd\
      cd windows
    4. Type the following command at a command prompt, and then press ENTER, where filename is the name of the text file that you are creating:
      dir > filename.txt

      For example, if you want to create a file named Windowsfolderlist.txt, type the following command at a command prompt, and then press ENTER:

      dir > windowsfolderlist.txt

      NOTE: The text file that you create is located in the folder that you are in when you follow these steps. In the earlier example, the Windowsfolderlist.txt file is located in the Windows folder.

    5. Use a text editor, such as Notepad, to view or print this file.

    Try other commands like:

    dir source /s >> destination.txt

    e.g. dir c:\ /s >> “c:\users\<username>\desktop\list.txt”

    Or tree /A /F > tree.txt

    Happy Extracting

    Credits:
    https://support.microsoft.com/en-us/kb/196158

    http://www.sevenforums.com/general-discussion/215864-how-can-i-list-folders-sub-folders-file-names-into-txt-file.html

  • MAXIMUM FILE UPLOAD SIZE – PHP.INI

    AUTHOR: // CATEGORY: Development, Open Source, Wordpress

    1 Comment

    On shared hosting/VPN or cloud if you’d like to increase the default max file upload size from 10M check our the below

    You need to set the value of upload_max_filesize and post_max_size in your php.ini (in the example below 40M is what I’ve set the max upload to, however you can change to whatever you’d like eg. 100M etc.):

    ; Maximum allowed size for uploaded files.
    upload_max_filesize = 40M
    
    ; Must be greater than or equal to upload_max_filesize
    post_max_size = 40M
    
    Or in the cursed .htaccess file 
    
    php_value upload_max_filesize 40M
    php_value post_max_size 40M

    Happy uploading ....

  • CLOUD FILE HOSTING

    AUTHOR: // CATEGORY: Development, Open Source

    No Comments

    Looking for an open source cloud file hosting application …

    Look no further than http://owncloud.org/

    – awesome app,
    – easy to install (even on shared hosting),
    – desktop sync clients,
    – totally free and customisable