Search found 24 matches

by taherkhani
19 Feb 2014 15:46
Forum: DOS Batch Forum
Topic: How to divide djvu files?
Replies: 2
Views: 4815

Re: How to divide djvu files?

carlos wrote:for manage multiple pages you need use djvm.


djvm is a command for combine several .djvu files, so we must save each page of my file

and use djvm :(

This idea is not so reasonable for a file with a large page.
by taherkhani
18 Feb 2014 04:46
Forum: DOS Batch Forum
Topic: How to divide djvu files?
Replies: 2
Views: 4815

How to divide djvu files?

Hi everyone, I want divide a .djvu file to six pages, for example, a file with 504 pages to 84 files with 6 pages. I know with this command: djvused input.djvu -e "select 10; save-page-with page10.djvu" can extract page 10 of the file input.djvu . *** djvused.exe is a command included with...
by taherkhani
14 Oct 2013 07:26
Forum: DOS Batch Forum
Topic: copy one file to all subfolder
Replies: 2
Views: 3024

copy one file to all subfolder

hi i have file 'run.bat' in folder D:\math, and i want copy this file to all subfolder math. subfolder like this: d:\math\1103\[86]-1103-math d:\math\1103\[87]-1103-math d:\math\1103\[88]-1103-(A)-math d:\math\1103\[89]-1103-3001-math d:\math\1103\[90]-1103-(B)-math d:\math\1105\[86]-1105-math d:\ma...
by taherkhani
13 Oct 2013 05:42
Forum: DOS Batch Forum
Topic: convert multipage PDF file to one huge single JPG file
Replies: 5
Views: 5918

Re: convert multipage PDF file to one huge single JPG file

Not sure if ImageMagick could create an all-in-one JPG. It's free though. Just give it a try. Regards aGerman i try but i can't find what you say in ImageMagick. SnagIt can capture a scrolling page to an image. It ain't cheap. Look for something like that - or supply the PDF to download and I'll se...
by taherkhani
13 Oct 2013 03:11
Forum: DOS Batch Forum
Topic: convert multipage PDF file to one huge single JPG file
Replies: 5
Views: 5918

convert multipage PDF file to one huge single JPG file

hi everyone, i want (for a certain purpose) convert a multipage PDF file to one huge single JPG file. i mean, input PDF file: +-------++-------++-------+..... | 1 | | 2 || 3 | | | | || | +-------++-------++-------+..... output JPEG file: +-------+ | 1 | | | +-------+ | 2 | | | +..........+ | 3 | | |...
by taherkhani
25 Dec 2012 09:59
Forum: DOS Batch Forum
Topic: run a program with FOR command in batch, for some files
Replies: 1
Views: 2776

run a program with FOR command in batch, for some files

Hi everyone, i want run a program over some files with specific extension, for example run a command-line program like pdftk-1.44-win over all .pdf files in a folder for delete page 1 of all .pdf files. for example, for rotate the first page in.pdf to 90 degrees clockwise and save output to out.pdf,...
by taherkhani
11 Dec 2012 06:48
Forum: DOS Batch Forum
Topic: output end-level empty subfolders
Replies: 13
Views: 9399

Re: output end-level empty subfolders

See if this works for you: Code: @echo off for /d /r %%a in (*) do ( dir /b /a "%%a" 2>nul | find /c /v "" | findstr "^0$" >nul && >> file.txt echo %%a ) pause it's work, but not for unicode, if i run that for unicode, output ? character instead of any unicode ...
by taherkhani
11 Dec 2012 03:43
Forum: DOS Batch Forum
Topic: output end-level empty subfolders
Replies: 13
Views: 9399

Re: output end-level empty subfolders

@foxidrive
Do you want to display them or do you want to delete them?


I want display them too a .txt file.
by taherkhani
11 Dec 2012 02:53
Forum: DOS Batch Forum
Topic: output end-level empty subfolders
Replies: 13
Views: 9399

Re: output end-level empty subfolders

Sorry, do you mean you just want to display the last folder in the tree of all folders.
and empty means that the folder must not contain any other sub-folders ?


Exactly.
by taherkhani
11 Dec 2012 02:33
Forum: DOS Batch Forum
Topic: output end-level empty subfolders
Replies: 13
Views: 9399

Re: output end-level empty subfolders

log file: http://depositfiles.com/files/lo3etp4yc i want output only empty folders that even have not any folder in it. supose I have: main |_subfol |_subsubfol and main is empty folder, itmeans that subfol and subsubfol are also empty, but main contain a foder and subfol contain a folder too, I hav...
by taherkhani
11 Dec 2012 00:30
Forum: DOS Batch Forum
Topic: output end-level empty subfolders
Replies: 13
Views: 9399

Re: output end-level empty subfolders

@abc0502,
thanks, but my output isn't that i'm goal. I upload log file:

http://letitbit.net/download/38559.3ecbb4bfb7a29b5aa42071b98829/log.log.html
by taherkhani
10 Dec 2012 14:15
Forum: DOS Batch Forum
Topic: output end-level empty subfolders
Replies: 13
Views: 9399

Re: output end-level empty subfolders

this program can job that, but don't work for unicode character:

http://simonwai.com/bin/EmptyFolderNuker.exe
by taherkhani
10 Dec 2012 07:43
Forum: DOS Batch Forum
Topic: output end-level empty subfolders
Replies: 13
Views: 9399

output end-level empty subfolders

how can i list my empty folders and subfolders in a main folder? supose that my main folder is: f:\ta\a\main\sub1\ f:\ta\a\main\sub2\subsub1 f:\ta\a\main\sub3\subsub2 f:\ta\a\main\sub4\subsub3\subsubsub1 f:\ta\a\main\sub5\subsub4\subsubsub1 supose that folder 'main' is completely empty. i want a pro...
by taherkhani
09 Dec 2012 23:42
Forum: DOS Batch Forum
Topic: Batch file for copy many files to many folders?
Replies: 39
Views: 22380

Re: Batch file for copy many files to many folders?

Very very thankful @abc0502, you absolutely save my time by your code.

@abc0502, can you introduce a book, lecture, or anything that i follow that and rise my ability in write scripting program like you?
by taherkhani
09 Dec 2012 13:07
Forum: DOS Batch Forum
Topic: Batch file for copy many files to many folders?
Replies: 39
Views: 22380

Re: Batch file for copy many files to many folders?

@ abc0502
Your new code, don't work for these folders:

470.7 تاريخ هنر جهان
471.6 الياف نساجي
488 الگو
488.1 دوخت
491.3 الگو و دوخت لباس كودك
491.5 رنگ شناسي تخصصي لباس
494.8 طراحي اندام و لباس