diff --git a/NCD/getCount.m b/NCD/getCount.m
index 30ca317349e531d0cf296072df564212f39b6fdb..683f58af8116edd602bb0359946d1bfbfde3f9d4 100644
--- a/NCD/getCount.m
+++ b/NCD/getCount.m
@@ -42,7 +42,7 @@ else
 end
 im=mat2gray(im);
 im=gray2ind(im);
-fname = ['e:\scratch\scratch_' tag '.jp2'];
+fname = ['.\scratch\scratch_' tag '.jp2'];
 imwrite(im,fname);
 info=imfinfo(fname);
 count=info.FileSize;